mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
fix copy-n-paste errors that used wrong buttons for playhead priorities
This commit is contained in:
parent
b084854a23
commit
6cc7e9d34c
1 changed files with 3 additions and 3 deletions
|
|
@ -135,7 +135,7 @@ class AutoReturnTargetOptions : public OptionEditorBox
|
|||
}
|
||||
void last_roll_toggled () {
|
||||
AutoReturnTarget art = _rc_config->get_auto_return_target_list ();
|
||||
if (range_selection_button.get_active ()) {
|
||||
if (last_roll_button.get_active ()) {
|
||||
_rc_config->set_auto_return_target_list (AutoReturnTarget (art | LastLocate));
|
||||
} else {
|
||||
_rc_config->set_auto_return_target_list (AutoReturnTarget (art & ~LastLocate));
|
||||
|
|
@ -143,7 +143,7 @@ class AutoReturnTargetOptions : public OptionEditorBox
|
|||
}
|
||||
void region_selection_toggled () {
|
||||
AutoReturnTarget art = _rc_config->get_auto_return_target_list ();
|
||||
if (range_selection_button.get_active ()) {
|
||||
if (region_selection_button.get_active ()) {
|
||||
_rc_config->set_auto_return_target_list (AutoReturnTarget (art | RegionSelectionStart));
|
||||
} else {
|
||||
_rc_config->set_auto_return_target_list (AutoReturnTarget (art & ~RegionSelectionStart));
|
||||
|
|
@ -151,7 +151,7 @@ class AutoReturnTargetOptions : public OptionEditorBox
|
|||
}
|
||||
void loop_toggled () {
|
||||
AutoReturnTarget art = _rc_config->get_auto_return_target_list ();
|
||||
if (range_selection_button.get_active ()) {
|
||||
if (loop_button.get_active ()) {
|
||||
_rc_config->set_auto_return_target_list (AutoReturnTarget (art | Loop));
|
||||
} else {
|
||||
_rc_config->set_auto_return_target_list (AutoReturnTarget (art & ~Loop));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue