summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/language_tag_dialog.cc1
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));
}