mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
This commit is contained in:
parent
855689337d
commit
30427f0572
1 changed files with 3 additions and 1 deletions
|
|
@ -136,7 +136,9 @@ private:
|
|||
|
||||
~DemoTreeView()
|
||||
{
|
||||
delete getRootItem();
|
||||
TreeViewItem* root = getRootItem();
|
||||
setRootItem (0);
|
||||
delete root;
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue