From ed74299e1e8b0bf25cd6e7244ac2b54db34b4663 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 10 Dec 2015 12:38:35 +0100 Subject: [PATCH] indicate that we can't loop with external sync --- gtk2_ardour/ardour_ui_options.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index 8aec13a574..fa13c98699 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -315,11 +315,13 @@ ARDOUR_UI::parameter_changed (std::string p) if (!_session->config.get_external_sync()) { sync_button.set_text (_("Internal")); + auto_loop_button.set_sensitive (true); ActionManager::get_action ("Transport", "ToggleAutoPlay")->set_sensitive (true); ActionManager::get_action ("Transport", "ToggleAutoReturn")->set_sensitive (true); ActionManager::get_action ("Transport", "ToggleFollowEdits")->set_sensitive (true); } else { sync_button.set_text (sync_source_to_string (Config->get_sync_source(), true)); + auto_loop_button.set_sensitive (false); /* XXX need to make auto-play is off as well as insensitive */ ActionManager::get_action ("Transport", "ToggleAutoPlay")->set_sensitive (false); ActionManager::get_action ("Transport", "ToggleAutoReturn")->set_sensitive (false);