set Profile TRX element at startup

This commit is contained in:
Paul Davis 2014-04-10 04:15:52 -04:00
parent cc99b56c57
commit 62e66b05dc

View File

@ -488,7 +488,7 @@ ARDOUR_UI::post_engine ()
_tooltips.enable();
ActionManager::load_menus ();
ActionManager::load_menus (ARDOUR_COMMAND_LINE::menus_file);
if (setup_windows ()) {
throw failed_constructor ();
@ -4232,10 +4232,14 @@ ARDOUR_UI::setup_profile ()
Profile->set_small_screen ();
}
if (getenv ("ARDOUR_SAE")) {
if (g_getenv ("ARDOUR_SAE")) {
Profile->set_sae ();
Profile->set_single_package ();
}
if (g_getenv ("TRX")) {
Profile->set_trx ();
}
}
int