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:
parent
7e8d9b104a
commit
4034f289fa
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user