mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 16:20:05 +02:00
Simplify condition
This commit is contained in:
parent
168db87ddf
commit
4644b5cb16
@ -602,7 +602,8 @@ void ExtImportPrefs::OnDelRule(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
int msgres = AudacityMessageBox (_("Do you really want to delete selected rule?"),
|
||||
_("Rule deletion confirmation"), wxYES_NO, RuleTable);
|
||||
if (msgres == wxNO || msgres != wxYES)
|
||||
// Yes or no, there is no third!
|
||||
if (msgres != wxYES)
|
||||
return;
|
||||
|
||||
RuleTable->DeleteRows (last_selected);
|
||||
|
Loading…
x
Reference in New Issue
Block a user