1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Projucer: Fixed a potential crash in JucerTreeViewBase when dereferencing a deleted pointer to the underlying TreeViewItem

This commit is contained in:
ed 2021-03-15 11:44:34 +00:00
parent d6ac6b543b
commit 94ac07cd73
2 changed files with 12 additions and 13 deletions

View file

@ -61,16 +61,12 @@ void TreePanelBase::saveOpenness()
}
//==============================================================================
JucerTreeViewBase::JucerTreeViewBase() : textX (0)
JucerTreeViewBase::JucerTreeViewBase()
{
setLinesDrawnForSubItems (false);
setDrawsInLeftMargin (true);
}
JucerTreeViewBase::~JucerTreeViewBase()
{
}
void JucerTreeViewBase::refreshSubItems()
{
WholeTreeOpennessRestorer wtor (*this);