change the text on the "do nothing" button when closing an unnsamed session while dirty
This commit is contained in:
parent
f21c948f35
commit
08df4def52
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user