1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Fix Bug 508 (P2) - Chains: Chain removed even if you say No to prompt.

This commit is contained in:
mchinen
2012-05-23 18:52:52 +00:00
parent a2c8584446
commit 5036316758

View File

@@ -737,7 +737,7 @@ void EditChainsDialog::OnRemove(wxCommandEvent &event)
wxString::Format(_("Are you sure you want to delete %s?"), name.c_str()),
GetTitle(),
wxYES_NO | wxICON_QUESTION);
if (m.ShowModal() == wxNO) {
if (m.ShowModal() == wxID_NO) {
return;
}