mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
if user chooses not to delete a scratch session, removed the file that identifies it as unnamed (GUI)
This commit is contained in:
parent
1157c7d457
commit
b3cbd8f44e
1 changed files with 2 additions and 0 deletions
|
|
@ -1097,6 +1097,8 @@ ARDOUR_UI::ask_about_scratch_deletion ()
|
||||||
|
|
||||||
if (r == Gtk::RESPONSE_OK) {
|
if (r == Gtk::RESPONSE_OK) {
|
||||||
PBD::remove_directory (path);
|
PBD::remove_directory (path);
|
||||||
|
} else {
|
||||||
|
_session->end_unnamed_status ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue