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:
parent
d6ac6b543b
commit
94ac07cd73
2 changed files with 12 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue