13
0

vtl: resume if "don't close/exit" is selected

This commit is contained in:
Robin Gareus 2013-04-09 00:48:15 +02:00
parent f7abf2de82
commit 8a3ebe7510
2 changed files with 6 additions and 0 deletions

View File

@ -849,6 +849,7 @@ ARDOUR_UI::finish()
actions.push_back (_("Save and quit"));
switch (ask_about_saving_session(actions)) {
case -1:
ARDOUR_UI::instance()->video_timeline->set_session(_session);
return;
break;
case 1:

View File

@ -217,6 +217,10 @@ ARDOUR_UI::unload_session (bool hide_stuff)
{
#ifdef WITH_VIDEOTIMELINE
if (_session) {
/* close video-monitor
* this needed to enfore querying its settings (window size,..)
* which are reported asynchroneously.
*/
ARDOUR_UI::instance()->video_timeline->close_session();
}
#endif
@ -227,6 +231,7 @@ ARDOUR_UI::unload_session (bool hide_stuff)
actions.push_back (_("Save and close"));
switch (ask_about_saving_session (actions)) {
case -1:
ARDOUR_UI::instance()->video_timeline->set_session(_session);
// cancel
return 1;