From b3f40506270bf1d16cbb05d6913251dd24a8b578 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Thu, 20 Aug 2015 13:32:41 -0400 Subject: [PATCH] Group Spectrograms Preferences page under Tracks, again --- src/prefs/PrefsDialog.cpp | 8 ++++---- src/prefs/PrefsDialog.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/prefs/PrefsDialog.cpp b/src/prefs/PrefsDialog.cpp index f5b07bbaf..2ef329b1f 100644 --- a/src/prefs/PrefsDialog.cpp +++ b/src/prefs/PrefsDialog.cpp @@ -169,19 +169,19 @@ PrefsDialog::Factories &qualityPrefsFactory, &guiPrefsFactory, - &tracksPrefsFactory, + // Group other page(s) + PrefsNode(&tracksPrefsFactory, 1), // &waveformPrefsFactory, - // &spectrumPrefsFactory, + &spectrumPrefsFactory, // Group one other page - PrefsNode(&importExportPrefsFactory, 1, true), + PrefsNode(&importExportPrefsFactory, 1), &extImportPrefsFactory, &projectsPrefsFactory, #if !defined(DISABLE_DYNAMIC_LOADING_FFMPEG) || !defined(DISABLE_DYNAMIC_LOADING_LAME) &libraryPrefsFactory, #endif - &spectrumPrefsFactory, &directoriesPrefsFactory, &warningsPrefsFactory, &effectsPrefsFactory, diff --git a/src/prefs/PrefsDialog.h b/src/prefs/PrefsDialog.h index 723c67805..42bbf89f1 100644 --- a/src/prefs/PrefsDialog.h +++ b/src/prefs/PrefsDialog.h @@ -40,7 +40,7 @@ class PrefsDialog:public wxDialog PrefsNode(PrefsPanelFactory *pFactory_, int nChildren_ = 0, - bool expanded_ = false) + bool expanded_ = true) : pFactory(pFactory_), nChildren(nChildren_), expanded(expanded_) {} };