1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 07:13:49 +01:00

Fix bugs in retraction of Waveforms preferences page

This commit is contained in:
Paul Licameli
2015-08-19 11:52:31 -04:00
parent 47cbdac274
commit b11f57a643
2 changed files with 2 additions and 9 deletions

View File

@@ -258,7 +258,8 @@ PrefsDialog::PrefsDialog
S.AddStandardButtons(eOkButton | eCancelButton);
#if defined(__WXGTK__)
mCategories->GetTreeCtrl()->EnsureVisible(mCategories->GetTreeCtrl()->GetRootItem());
if (mCategories)
mCategories->GetTreeCtrl()->EnsureVisible(mCategories->GetTreeCtrl()->GetRootItem());
#endif
// mCategories->SetSizeHints(-1, -1, 790, 600); // 790 = 800 - (border * 2)