mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 00:20:06 +02:00
Make the Tracks tree node in Preference dialog expanded by default.
This commit is contained in:
parent
f0fe2cb04c
commit
859b69262e
@ -158,7 +158,7 @@ PrefsDialog::Factories
|
|||||||
&guiPrefsFactory,
|
&guiPrefsFactory,
|
||||||
|
|
||||||
// Group two other pages
|
// Group two other pages
|
||||||
PrefsNode(&tracksPrefsFactory, 2),
|
PrefsNode(&tracksPrefsFactory, 2, true),
|
||||||
&waveformPrefsFactory,
|
&waveformPrefsFactory,
|
||||||
&spectrumPrefsFactory,
|
&spectrumPrefsFactory,
|
||||||
|
|
||||||
|
@ -37,8 +37,10 @@ class PrefsDialog:public wxDialog
|
|||||||
CONST int nChildren;
|
CONST int nChildren;
|
||||||
bool expanded;
|
bool expanded;
|
||||||
|
|
||||||
PrefsNode(PrefsPanelFactory *pFactory_, int nChildren_ = 0)
|
PrefsNode(PrefsPanelFactory *pFactory_,
|
||||||
: pFactory(pFactory_), nChildren(nChildren_), expanded(false)
|
int nChildren_ = 0,
|
||||||
|
bool expanded_ = false)
|
||||||
|
: pFactory(pFactory_), nChildren(nChildren_), expanded(expanded_)
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
typedef std::vector<PrefsNode> Factories;
|
typedef std::vector<PrefsNode> Factories;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user