Fix video-monitor "sync-source" changes
authorRobin Gareus <robin@gareus.org>
Fri, 9 Dec 2016 22:43:37 +0000 (23:43 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 10 Dec 2016 14:54:47 +0000 (15:54 +0100)
gtk2_ardour/video_monitor.cc

index 1fe8f97f0918fcfbe1c19d248d87a20db579ac28..a23e2b251604568df7bcf3e25390c20cd0ad4d01 100644 (file)
@@ -441,6 +441,7 @@ VideoMonitor::set_session (ARDOUR::Session *s)
 {
        SessionHandlePtr::set_session (s);
        if (!_session) { return; }
+       ARDOUR::Config->ParameterChanged.connect (*this, invalidator (*this), ui_bind (&VideoMonitor::parameter_changed, this, _1), gui_context());
        _session->config.ParameterChanged.connect (*this, invalidator (*this), ui_bind (&VideoMonitor::parameter_changed, this, _1), gui_context());
        XMLNode* node = _session->extra_xml (X_("XJSettings"));
        if (!node) { return;}