mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 23:59:41 +02:00
Make the Tracks tree node in Preference dialog expanded by default.
This commit is contained in:
commit
9397ae2ff5
@ -158,7 +158,7 @@ PrefsDialog::Factories
|
||||
&guiPrefsFactory,
|
||||
|
||||
// Group two other pages
|
||||
PrefsNode(&tracksPrefsFactory, 2),
|
||||
PrefsNode(&tracksPrefsFactory, 2, true),
|
||||
&waveformPrefsFactory,
|
||||
&spectrumPrefsFactory,
|
||||
|
||||
|
@ -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<PrefsNode> Factories;
|
||||
|
Loading…
x
Reference in New Issue
Block a user