Fix some minor copy-paste errors in ardour_ui_dependents.cc
This commit is contained in:
parent
0083c8fb9f
commit
aa163b05ca
@ -275,11 +275,10 @@ ARDOUR_UI::setup_windows ()
|
||||
}
|
||||
|
||||
if (create_trigger_page ()) {
|
||||
error << _("UI: cannot setup recorder") << endmsg;
|
||||
error << _("UI: cannot setup trigger") << endmsg;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
if (create_meterbridge ()) {
|
||||
error << _("UI: cannot setup meterbridge") << endmsg;
|
||||
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()));
|
||||
} else if (recorder && current_tab == "recorder") {
|
||||
_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()));
|
||||
} else if (editor) {
|
||||
_tabs.set_current_page (_tabs.page_num (editor->contents()));
|
||||
|
Loading…
Reference in New Issue
Block a user