1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 00:29:41 +02:00

Merge remote-tracking branch 'dave/metadatacancel'

This commit is contained in:
James Crook 2017-02-24 17:15:24 +00:00
commit 2a4794760c
2 changed files with 5 additions and 0 deletions

View File

@ -1365,6 +1365,9 @@ void TagsEditor::DoCancel(bool escKey)
// To avoid memory leak, don't forget DecRef()!
editor->DecRef();
mGrid->HideCellEditControl();
#if defined(__WXMSW__)
return;
#endif
}
auto focus = wxWindow::FindFocus();

View File

@ -142,7 +142,9 @@ class TagsEditor final : public wxDialogWrapper
virtual ~TagsEditor();
#if !defined(__WXMSW__)
bool IsEscapeKey(const wxKeyEvent& /*event*/) override { return false; }
#endif
void PopulateOrExchange(ShuttleGui & S);