mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 08:06:32 +01:00
Upgraders to 2.2.0 retain the full set of default shortcuts.
If they delete audacity.cfg they get the new smaller set of defaults. Also if they explicitly ask for the standard set.
This commit is contained in:
@@ -426,8 +426,6 @@ CommandManager::CommandManager():
|
||||
{
|
||||
mbSeparatorAllowed = false;
|
||||
SetMaxList();
|
||||
|
||||
|
||||
}
|
||||
|
||||
///
|
||||
@@ -452,6 +450,12 @@ void CommandManager::SetMaxList()
|
||||
// shortcut is standard or full.
|
||||
|
||||
mMaxListOnly.Clear();
|
||||
|
||||
// if the full list, don't exclude any.
|
||||
bool bFull = gPrefs->ReadBool(wxT("/GUI/Shortcuts/FullDefaults"),false);
|
||||
if( bFull )
|
||||
return;
|
||||
|
||||
// These short cuts are for the max list only....
|
||||
//mMaxListOnly.Add( "Ctrl+I" );
|
||||
mMaxListOnly.Add( "Ctrl+Alt+I" );
|
||||
|
||||
Reference in New Issue
Block a user