mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
move cue-behavior to session config (gtk part)
This commit is contained in:
parent
b506a243a2
commit
5f0c7fe3d6
3 changed files with 6 additions and 6 deletions
|
|
@ -1968,11 +1968,11 @@ Editor::find_marker_from_location_id (PBD::ID const & id, bool is_start) const
|
|||
void
|
||||
Editor::toggle_cue_behavior ()
|
||||
{
|
||||
CueBehavior cb (Config->get_cue_behavior());
|
||||
CueBehavior cb (_session->config.get_cue_behavior());
|
||||
|
||||
if (cb & ARDOUR::FollowCues) {
|
||||
Config->set_cue_behavior (ARDOUR::CueBehavior (cb & ~ARDOUR::FollowCues));
|
||||
_session->config.set_cue_behavior (ARDOUR::CueBehavior (cb & ~ARDOUR::FollowCues));
|
||||
} else {
|
||||
Config->set_cue_behavior (ARDOUR::CueBehavior (cb | ARDOUR::FollowCues));
|
||||
_session->config.set_cue_behavior (ARDOUR::CueBehavior (cb | ARDOUR::FollowCues));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue