mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-02 11:49:33 +01:00
fix copy-n-paste errors that used wrong buttons for playhead priorities
This commit is contained in:
parent
e9dd3120ea
commit
1b39ed1035
1 changed files with 3 additions and 3 deletions
|
|
@ -139,7 +139,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));
|
||||
|
|
@ -147,7 +147,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));
|
||||
|
|
@ -155,7 +155,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