From 3ef1a678b41725cce49dc0f0f816da445d6d9a76 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 20 Jul 2010 01:16:50 +0000 Subject: [PATCH] Show editor window after opening a new session when one is closed. Should fix #3312. git-svn-id: svn://localhost/ardour2/branches/3.0@7448 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ardour_ui.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 11cea54c02..94d5a4d8d4 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -2542,7 +2542,13 @@ ARDOUR_UI::close_session() } ARDOUR_COMMAND_LINE::session_name = ""; - get_session_parameters (true, false); + + if (get_session_parameters (true, false)) { + exit (1); + } + + goto_editor_window (); + show (); } int