13
0

Fix build, partially revert 5a188fba

This commit is contained in:
Robin Gareus 2024-05-25 16:10:34 +02:00
parent 9e47823739
commit 26ce571baf
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -501,10 +501,11 @@ ARDOUR_UI::step_up_through_tabs ()
candidates.push_back (trigger_page); candidates.push_back (trigger_page);
} }
#ifndef LIVETRAX
if (rc_option_editor->tabbed()) { if (rc_option_editor->tabbed()) {
candidates.push_back (rc_option_editor); candidates.push_back (rc_option_editor);
} }
#endif
if (candidates.size() < 2) { if (candidates.size() < 2) {
/* nothing to be done with zero or one visible in tabs */ /* nothing to be done with zero or one visible in tabs */
return; return;
@ -553,10 +554,11 @@ ARDOUR_UI::step_down_through_tabs ()
candidates.push_back (trigger_page); candidates.push_back (trigger_page);
} }
#ifndef LIVETRAX
if (rc_option_editor->tabbed()) { if (rc_option_editor->tabbed()) {
candidates.push_back (rc_option_editor); candidates.push_back (rc_option_editor);
} }
#endif
if (candidates.size() < 2) { if (candidates.size() < 2) {
/* nothing to be done with zero or one visible in tabs */ /* nothing to be done with zero or one visible in tabs */
return; return;