Re-fix multi present problem (without breaking cmdline session loading).
git-svn-id: svn://localhost/ardour2/trunk@918 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -1833,6 +1833,8 @@ ARDOUR_UI::make_session_clean ()
|
||||
session->set_clean ();
|
||||
}
|
||||
|
||||
show ();
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -1881,6 +1883,11 @@ ARDOUR_UI::show ()
|
||||
{
|
||||
if (editor) {
|
||||
editor->show_window ();
|
||||
|
||||
if (!shown_flag) {
|
||||
editor->present ();
|
||||
}
|
||||
|
||||
shown_flag = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -131,10 +131,6 @@ ARDOUR_UI::connect_to_session (Session *s)
|
||||
start_clocking ();
|
||||
start_blinking ();
|
||||
|
||||
if (editor) {
|
||||
editor->present();
|
||||
}
|
||||
|
||||
transport_stopped ();
|
||||
|
||||
second_connection = Glib::signal_timeout().connect (mem_fun(*this, &ARDOUR_UI::every_second), 1000);
|
||||
|
||||
Reference in New Issue
Block a user