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