mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +01:00
set Profile TRX element at startup
This commit is contained in:
parent
cc99b56c57
commit
62e66b05dc
1 changed files with 6 additions and 2 deletions
|
|
@ -488,7 +488,7 @@ ARDOUR_UI::post_engine ()
|
||||||
|
|
||||||
_tooltips.enable();
|
_tooltips.enable();
|
||||||
|
|
||||||
ActionManager::load_menus ();
|
ActionManager::load_menus (ARDOUR_COMMAND_LINE::menus_file);
|
||||||
|
|
||||||
if (setup_windows ()) {
|
if (setup_windows ()) {
|
||||||
throw failed_constructor ();
|
throw failed_constructor ();
|
||||||
|
|
@ -4232,10 +4232,14 @@ ARDOUR_UI::setup_profile ()
|
||||||
Profile->set_small_screen ();
|
Profile->set_small_screen ();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv ("ARDOUR_SAE")) {
|
if (g_getenv ("ARDOUR_SAE")) {
|
||||||
Profile->set_sae ();
|
Profile->set_sae ();
|
||||||
Profile->set_single_package ();
|
Profile->set_single_package ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g_getenv ("TRX")) {
|
||||||
|
Profile->set_trx ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue