diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-05 00:00:00 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-05 00:00:00 +0200 |
| commit | 8833ea90cf818e87da7a8f31698a04da54987521 (patch) | |
| tree | dc516313ca7c9520c0943733ac9ee8abb7c9b616 | |
| parent | e8a5de9cb15336241a8e4b116ec3d3c1b4c699e5 (diff) | |
Make Enter confirm OK in the language tag dialog (#2345).
| -rw-r--r-- | src/wx/language_tag_dialog.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/language_tag_dialog.cc b/src/wx/language_tag_dialog.cc index df2b74976..6fdcdba78 100644 --- a/src/wx/language_tag_dialog.cc +++ b/src/wx/language_tag_dialog.cc @@ -68,6 +68,7 @@ LanguageTagDialog::LanguageTagDialog (wxWindow* parent, dcp::LanguageTag tag) set (tag); add->Bind (wxEVT_BUTTON, boost::bind(&LanguageTagDialog::add_language, this)); + _list->Bind(wxEVT_LIST_ITEM_ACTIVATED, boost::bind(&LanguageTagDialog::EndModal, this, wxID_OK)); } |
