make new session dialog modal.
[ardour.git] / gtk2_ardour / ardour_ui.cc
index 1b05d746b441664de2c9638d4e2ef791d127e29e..169b150d70db835f31488e34b1b837e2cc690505 100644 (file)
@@ -1704,7 +1704,7 @@ void
 ARDOUR_UI::new_session (bool startup, std::string predetermined_path)
 {
        m_new_session_dialog->show_all();
-       m_new_session_dialog->set_transient_for(*editor);
+       m_new_session_dialog->set_modal(true);
        m_new_session_dialog->set_name(predetermined_path);
 
        int response = Gtk::RESPONSE_CANCEL;