diff options
author | Robin Gareus <robin@gareus.org> | 2015-09-19 18:29:51 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-19 19:00:42 +0200 |
commit | 0e55dc470dca732ce41c7fa53479eca75c652d02 (patch) | |
tree | fdeaa0f1c1bbed93d971b8586ce57b0f85c8fb98 /gtk2_ardour/strip_silence_dialog.cc | |
parent | cdd76636a0b42e2f9b171b04faf1af0051976867 (diff) |
StripSilence: invalidate Completed connection - fixes #6600
Diffstat (limited to 'gtk2_ardour/strip_silence_dialog.cc')
-rw-r--r-- | gtk2_ardour/strip_silence_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/strip_silence_dialog.cc b/gtk2_ardour/strip_silence_dialog.cc index d37fbb6585..da31baaec3 100644 --- a/gtk2_ardour/strip_silence_dialog.cc +++ b/gtk2_ardour/strip_silence_dialog.cc @@ -107,7 +107,7 @@ StripSilenceDialog::StripSilenceDialog (Session* s, list<RegionView*> const & v) update_threshold_line (); /* Create a thread which runs while the dialogue is open to compute the silence regions */ - Completed.connect (_completed_connection, MISSING_INVALIDATOR, boost::bind (&StripSilenceDialog::update, this), gui_context ()); + Completed.connect (_completed_connection, invalidator(*this), boost::bind (&StripSilenceDialog::update, this), gui_context ()); _thread_should_finish = false; pthread_create (&_thread, 0, StripSilenceDialog::_detection_thread_work, this); } |