do not pass a non-zero offset to plugins AFTER the first call to connect_and_run...
[ardour.git] / gtk2_ardour / ui_config.cc
index 4026aab11c78f0756b9fe884066caf9a758c7c19..ce9fbce172c2a52e67630a59d25a0b6c19ff1346 100644 (file)
@@ -67,7 +67,11 @@ UIConfiguration::load_defaults ()
        if (ui_conf && ui_conf[0] != '\0') {
                rcfile = find_config_file (ui_conf);
        } else {
-               rcfile = find_config_file ("ardour2_ui_default.conf");
+               if (getenv ("ARDOUR_SAE")) {
+                       rcfile = find_config_file ("ardour2_ui_sae.conf");
+               } else {
+                       rcfile = find_config_file ("ardour2_ui_default.conf");
+               }
        }
 
        if (rcfile.length()) {