13
0

Fix some minor copy-paste errors in ardour_ui_dependents.cc

This commit is contained in:
Marijn Kruisselbrink 2023-01-12 11:08:56 -08:00 committed by GitHub
parent 0083c8fb9f
commit aa163b05ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -275,11 +275,10 @@ ARDOUR_UI::setup_windows ()
} }
if (create_trigger_page ()) { if (create_trigger_page ()) {
error << _("UI: cannot setup recorder") << endmsg; error << _("UI: cannot setup trigger") << endmsg;
return -1; return -1;
} }
if (create_meterbridge ()) { if (create_meterbridge ()) {
error << _("UI: cannot setup meterbridge") << endmsg; error << _("UI: cannot setup meterbridge") << endmsg;
return -1; return -1;
@ -423,7 +422,7 @@ ARDOUR_UI::apply_window_settings (bool with_size)
_tabs.set_current_page (_tabs.page_num (rc_option_editor->contents())); _tabs.set_current_page (_tabs.page_num (rc_option_editor->contents()));
} else if (recorder && current_tab == "recorder") { } else if (recorder && current_tab == "recorder") {
_tabs.set_current_page (_tabs.page_num (recorder->contents())); _tabs.set_current_page (_tabs.page_num (recorder->contents()));
} else if (recorder && current_tab == "trigger") { } else if (trigger_page && current_tab == "trigger") {
_tabs.set_current_page (_tabs.page_num (trigger_page->contents())); _tabs.set_current_page (_tabs.page_num (trigger_page->contents()));
} else if (editor) { } else if (editor) {
_tabs.set_current_page (_tabs.page_num (editor->contents())); _tabs.set_current_page (_tabs.page_num (editor->contents()));