13
0

make new session dialog modal.

git-svn-id: svn://localhost/trunk/ardour2@487 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2006-04-28 06:10:27 +00:00
parent 982d639d44
commit 3129b822b0

View File

@ -1704,7 +1704,7 @@ void
ARDOUR_UI::new_session (bool startup, std::string predetermined_path) ARDOUR_UI::new_session (bool startup, std::string predetermined_path)
{ {
m_new_session_dialog->show_all(); 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); m_new_session_dialog->set_name(predetermined_path);
int response = Gtk::RESPONSE_CANCEL; int response = Gtk::RESPONSE_CANCEL;