mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Discard untitled sessions even when not quitting Ardour
This commit is contained in:
parent
e94e7b6dc7
commit
c6f8002561
1 changed files with 5 additions and 0 deletions
|
|
@ -334,8 +334,13 @@ ARDOUR_UI::unload_session (bool hide_stuff, bool force_unload)
|
|||
break;
|
||||
case 0:
|
||||
// discard/don't save
|
||||
if (_session->unnamed()) {
|
||||
ask_about_scratch_deletion ();
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (!force_unload && _session && _session->unnamed()) {
|
||||
ask_about_scratch_deletion ();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue