projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e8a5de9
)
Make Enter confirm OK in the language tag dialog (#2345).
author
Carl Hetherington
<cth@carlh.net>
Tue, 4 Oct 2022 22:00:00 +0000
(
00:00
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 4 Oct 2022 22:00:00 +0000
(
00:00
+0200)
src/wx/language_tag_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/language_tag_dialog.cc
b/src/wx/language_tag_dialog.cc
index df2b74976649d2d90aa951f8e8ea5d359e6290df..6fdcdba7898f039d177bce0aa104439d94e9528f 100644
(file)
--- 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));
}