desensitize Follow Edits button if sync is external
git-svn-id: svn://localhost/ardour2/branches/3.0@13548 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
14f11a9e63
commit
feec5f9ad1
@ -321,11 +321,13 @@ ARDOUR_UI::parameter_changed (std::string p)
|
|||||||
sync_button.set_text (_("Internal"));
|
sync_button.set_text (_("Internal"));
|
||||||
ActionManager::get_action ("Transport", "ToggleAutoPlay")->set_sensitive (true);
|
ActionManager::get_action ("Transport", "ToggleAutoPlay")->set_sensitive (true);
|
||||||
ActionManager::get_action ("Transport", "ToggleAutoReturn")->set_sensitive (true);
|
ActionManager::get_action ("Transport", "ToggleAutoReturn")->set_sensitive (true);
|
||||||
|
ActionManager::get_action ("Transport", "ToggleFollowEdits")->set_sensitive (true);
|
||||||
} else {
|
} else {
|
||||||
sync_button.set_text (sync_source_to_string (Config->get_sync_source(), true));
|
sync_button.set_text (sync_source_to_string (Config->get_sync_source(), true));
|
||||||
/* XXX need to make auto-play is off as well as insensitive */
|
/* XXX need to make auto-play is off as well as insensitive */
|
||||||
ActionManager::get_action ("Transport", "ToggleAutoPlay")->set_sensitive (false);
|
ActionManager::get_action ("Transport", "ToggleAutoPlay")->set_sensitive (false);
|
||||||
ActionManager::get_action ("Transport", "ToggleAutoReturn")->set_sensitive (false);
|
ActionManager::get_action ("Transport", "ToggleAutoReturn")->set_sensitive (false);
|
||||||
|
ActionManager::get_action ("Transport", "ToggleFollowEdits")->set_sensitive (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (p == "always-play-range") {
|
} else if (p == "always-play-range") {
|
||||||
|
Loading…
Reference in New Issue
Block a user