Discard untitled sessions even when not quitting Ardour
This commit is contained in:
parent
e94e7b6dc7
commit
c6f8002561
@ -334,8 +334,13 @@ ARDOUR_UI::unload_session (bool hide_stuff, bool force_unload)
|
|||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
// discard/don't save
|
// discard/don't save
|
||||||
|
if (_session->unnamed()) {
|
||||||
|
ask_about_scratch_deletion ();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} else if (!force_unload && _session && _session->unnamed()) {
|
||||||
|
ask_about_scratch_deletion ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user