mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
change the text on the "do nothing" button when closing an unnsamed session while dirty
This commit is contained in:
parent
f21c948f35
commit
08df4def52
1 changed files with 5 additions and 1 deletions
|
|
@ -312,7 +312,11 @@ ARDOUR_UI::unload_session (bool hide_stuff)
|
||||||
if (_session && _session->dirty()) {
|
if (_session && _session->dirty()) {
|
||||||
std::vector<std::string> actions;
|
std::vector<std::string> actions;
|
||||||
actions.push_back (_("Don't close"));
|
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"));
|
actions.push_back (_("Save and close"));
|
||||||
switch (ask_about_saving_session (actions)) {
|
switch (ask_about_saving_session (actions)) {
|
||||||
case -1:
|
case -1:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue