diff options
author | Robin Gareus <robin@gareus.org> | 2013-01-05 10:40:07 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-01-05 10:40:07 +0000 |
commit | 9a60d79c17426ae0dc6f39c2c51375a0637fa8f9 (patch) | |
tree | eba0a28dc86de41f854412a40b60e68a7076a7ef /gtk2_ardour | |
parent | 97a66826470fd7b3b3c29eb29bd98d82592baf37 (diff) |
fix external sync source configuration.
git-svn-id: svn://localhost/ardour2/branches/3.0@13782 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 4 | ||||
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index 29c71a61a8..ecb5766c16 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -69,6 +69,8 @@ when the pull up/down setting is non-zero.")); } } + ActionManager::toggle_config_state_foo ("Transport", "ToggleExternalSync", sigc::mem_fun (_session->config, &SessionConfiguration::set_external_sync), sigc::mem_fun (_session->config, &SessionConfiguration::get_external_sync)); + /* activating a slave is a session-property. * The slave type is a RC property. * When the slave is active is must not be reconfigured. @@ -79,8 +81,6 @@ when the pull up/down setting is non-zero.")); * status changed: */ Config->ParameterChanged("sync-source"); - - ActionManager::toggle_config_state_foo ("Transport", "ToggleExternalSync", sigc::mem_fun (_session->config, &SessionConfiguration::set_external_sync), sigc::mem_fun (_session->config, &SessionConfiguration::get_external_sync)); } } diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index e8486ed5c0..91c3cda737 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -1812,7 +1812,7 @@ RCOptionEditor::parameter_changed (string const & p) } else if (p == "sync-source") { _sync_source->set_sensitive (true); if (_session) { - _sync_source->set_sensitive (_session->config.get_external_sync()); + _sync_source->set_sensitive (!_session->config.get_external_sync()); } switch(Config->get_sync_source()) { case ARDOUR::MTC: |