change the text on the "do nothing" button when closing an unnsamed session while dirty

This commit is contained in:
Paul Davis 2020-05-18 16:04:14 -06:00
parent f21c948f35
commit 08df4def52

View File

@ -312,7 +312,11 @@ ARDOUR_UI::unload_session (bool hide_stuff)
if (_session && _session->dirty()) {
std::vector<std::string> actions;
actions.push_back (_("Don't close"));
actions.push_back (_("Just close"));
if (_session->unnamed()) {
actions.push_back (_("Discard"));
} else {
actions.push_back (_("Just close"));
}
actions.push_back (_("Save and close"));
switch (ask_about_saving_session (actions)) {
case -1: