mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02: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:
@@ -471,6 +471,9 @@ void KeyConfigPrefs::FilterKeys( wxArrayString & arr )
|
||||
|
||||
void KeyConfigPrefs::OnImportDefaults(wxCommandEvent & event)
|
||||
{
|
||||
gPrefs->DeleteEntry(wxT("/GUI/Shortcuts/FullDefaults"));
|
||||
gPrefs->Flush();
|
||||
|
||||
mNewKeys = mDefaultKeys;
|
||||
if( event.GetId() == 0 )
|
||||
FilterKeys( mNewKeys );
|
||||
|
||||
Reference in New Issue
Block a user