1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-22 23:30:07 +02:00

Hide Scrubbing Toolbar by default.

This commit is contained in:
James Crook 2016-08-14 15:59:07 +01:00
parent 8a8b43d956
commit d0a32f27eb

View File

@ -563,6 +563,7 @@ void ToolManager::Reset()
#ifdef EXPERIMENTAL_SPECTRAL_EDITING #ifdef EXPERIMENTAL_SPECTRAL_EDITING
|| ndx == SpectralSelectionBarID || ndx == SpectralSelectionBarID
#endif #endif
|| ndx == ScrubbingBarID
) )
{ {
expose = false; expose = false;
@ -656,13 +657,15 @@ void ToolManager::ReadConfig()
// Change to the bar subkey // Change to the bar subkey
gPrefs->SetPath( bar->GetSection() ); gPrefs->SetPath( bar->GetSection() );
bool bShownByDefault = true; bool bShownByDefault = false;
int defaultDock = TopDockID; int defaultDock = TopDockID;
if( ndx == SelectionBarID ) if( ndx == SelectionBarID )
defaultDock = BotDockID; defaultDock = BotDockID;
if( ndx == MeterBarID ) if( ndx == MeterBarID )
bShownByDefault = false; bShownByDefault = false;
if( ndx == ScrubbingBarID )
bShownByDefault = false;
#ifdef EXPERIMENTAL_SPECTRAL_EDITING #ifdef EXPERIMENTAL_SPECTRAL_EDITING
if( ndx == SpectralSelectionBarID ){ if( ndx == SpectralSelectionBarID ){