mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
prevent wierd GTK main loop situation when quitting from NSD at startup
git-svn-id: svn://localhost/ardour2/trunk@1610 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e6481db654
commit
f9d23955b5
4 changed files with 13 additions and 8 deletions
|
|
@ -127,7 +127,9 @@ maybe_load_session ()
|
|||
if (!session_name.length()) {
|
||||
ui->hide_splash ();
|
||||
if (!Config->get_no_new_session_dialog()) {
|
||||
ui->new_session ();
|
||||
if (!ui->new_session ()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
@ -168,7 +170,9 @@ maybe_load_session ()
|
|||
/* Show the NSD */
|
||||
ui->hide_splash ();
|
||||
if (!Config->get_no_new_session_dialog()) {
|
||||
ui->new_session ();
|
||||
if (!ui->new_session ()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue