diff --git a/src/prefs/PrefsDialog.cpp b/src/prefs/PrefsDialog.cpp index cc72635b3..7399cc37a 100644 --- a/src/prefs/PrefsDialog.cpp +++ b/src/prefs/PrefsDialog.cpp @@ -158,7 +158,7 @@ PrefsDialog::Factories &guiPrefsFactory, // Group two other pages - PrefsNode(&tracksPrefsFactory, 2), + PrefsNode(&tracksPrefsFactory, 2, true), &waveformPrefsFactory, &spectrumPrefsFactory, diff --git a/src/prefs/PrefsDialog.h b/src/prefs/PrefsDialog.h index a4b468921..0cb7da5d9 100644 --- a/src/prefs/PrefsDialog.h +++ b/src/prefs/PrefsDialog.h @@ -37,8 +37,10 @@ class PrefsDialog:public wxDialog CONST int nChildren; bool expanded; - PrefsNode(PrefsPanelFactory *pFactory_, int nChildren_ = 0) - : pFactory(pFactory_), nChildren(nChildren_), expanded(false) + PrefsNode(PrefsPanelFactory *pFactory_, + int nChildren_ = 0, + bool expanded_ = false) + : pFactory(pFactory_), nChildren(nChildren_), expanded(expanded_) {} }; typedef std::vector Factories;