indicate that we can't loop with external sync
authorRobin Gareus <robin@gareus.org>
Thu, 10 Dec 2015 11:38:35 +0000 (12:38 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 10 Dec 2015 11:38:35 +0000 (12:38 +0100)
gtk2_ardour/ardour_ui_options.cc

index 8aec13a574fabc0fa1ea9aceb5705065d7a9fb00..fa13c98699849f3ad48dd58ebb1b8509c89e9e86 100644 (file)
@@ -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);