mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-27 07:43:50 +01: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:
@@ -567,8 +567,10 @@ void KeyConfigPrefs::OnClear(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
mKey->Clear();
|
||||
|
||||
if (mCommandSelected != wxNOT_FOUND) {
|
||||
SetKeyForSelected(wxEmptyString);
|
||||
}
|
||||
}
|
||||
|
||||
void KeyConfigPrefs::OnSelected(wxCommandEvent & WXUNUSED(e))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user