fix appearance of SessionDialog presented after Session > New
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 30 Oct 2019 00:09:55 +0000 (18:09 -0600)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 30 Oct 2019 00:09:55 +0000 (18:09 -0600)
Needed to be told "require_new" to make sure the correct display is shown

gtk2_ardour/ardour_ui_session.cc

index c88ba0adcd6f25a6909bffbc290e0d6a5f05ab72..f6c4ac4568424c7606f022b4d2113e88019567ca 100644 (file)
@@ -150,7 +150,7 @@ ARDOUR_UI::start_session_load ()
                }
        }
 
-       SessionDialog* session_dialog = new SessionDialog (false, string(), Config->get_default_session_parent_dir(), string(), true);
+       SessionDialog* session_dialog = new SessionDialog (true, string(), Config->get_default_session_parent_dir(), string(), true);
        session_dialog->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::session_dialog_response_handler), session_dialog));
        session_dialog->present ();
 }