summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_appearance_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/subtitle_appearance_dialog.cc')
-rw-r--r--src/wx/subtitle_appearance_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/subtitle_appearance_dialog.cc b/src/wx/subtitle_appearance_dialog.cc
index 44e7b88d8..302e41980 100644
--- a/src/wx/subtitle_appearance_dialog.cc
+++ b/src/wx/subtitle_appearance_dialog.cc
@@ -210,7 +210,7 @@ SubtitleAppearanceDialog::SubtitleAppearanceDialog (wxWindow* parent, shared_ptr
_force_fade_in->bind(&SubtitleAppearanceDialog::setup_sensitivity, this);
_force_fade_out->bind(&SubtitleAppearanceDialog::setup_sensitivity, this);
_effect->Bind (wxEVT_CHOICE, bind (&SubtitleAppearanceDialog::setup_sensitivity, this));
- _content_connection = _content->Change.connect (bind (&SubtitleAppearanceDialog::content_change, this, _1));
+ _content_connection = _content->Change.connect_ui_thread(this, bind(&SubtitleAppearanceDialog::content_change, this, _1));
setup_sensitivity ();
}