mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Revert "Properly name Cancel button (part of #8787)"
This reverts commit aa5ef5bbbe
.
This commit is contained in:
parent
aa5ef5bbbe
commit
0445c8e08e
@ -74,7 +74,7 @@ Buffer * checkAndLoadLyXFile(FileName const & filename, bool const acceptDirty)
|
|||||||
"The document %1$s is already loaded and has unsaved changes.\n"
|
"The document %1$s is already loaded and has unsaved changes.\n"
|
||||||
"Do you want to abandon your changes and reload the version on disk?"), file);
|
"Do you want to abandon your changes and reload the version on disk?"), file);
|
||||||
if (!Alert::prompt(_("Reload saved document?"),
|
if (!Alert::prompt(_("Reload saved document?"),
|
||||||
text, 1, 1, _("&Reload"), _("&Cancel"))) {
|
text, 1, 1, _("&Reload"), _("&Keep Changes"))) {
|
||||||
// reload the document
|
// reload the document
|
||||||
if (checkBuffer->reload() != Buffer::ReadSuccess)
|
if (checkBuffer->reload() != Buffer::ReadSuccess)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user