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

Don't complain to the user if a command entry isn't selected and the Clear button is

clicked.
This commit is contained in:
lllucius 2013-10-03 16:18:04 +00:00
parent 7e8d9b104a
commit 4034f289fa

View File

@ -567,7 +567,9 @@ void KeyConfigPrefs::OnClear(wxCommandEvent& WXUNUSED(event))
{
mKey->Clear();
SetKeyForSelected(wxEmptyString);
if (mCommandSelected != wxNOT_FOUND) {
SetKeyForSelected(wxEmptyString);
}
}
void KeyConfigPrefs::OnSelected(wxCommandEvent & WXUNUSED(e))