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:
David Robillard
2006-09-16 23:43:51 +00:00
parent b9b736899c
commit 2b2a51b4a3
2 changed files with 7 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -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);