13
0

fix copy-n-paste errors that used wrong buttons for playhead priorities

This commit is contained in:
Paul Davis 2015-01-16 16:01:33 -05:00
parent 82487c9196
commit a2604ea38c

View File

@ -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));