mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Set default to button which does _NOT_ discard data (part of #8787)
This commit is contained in:
parent
fc00c117fc
commit
dd739820d2
@ -74,7 +74,7 @@ Buffer * checkAndLoadLyXFile(FileName const & filename, bool const acceptDirty)
|
||||
"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);
|
||||
if (!Alert::prompt(_("Reload saved document?"),
|
||||
text, 0, 1, _("&Reload"), _("&Keep Changes"))) {
|
||||
text, 1, 1, _("&Reload"), _("&Keep Changes"))) {
|
||||
// reload the document
|
||||
if (checkBuffer->reload() != Buffer::ReadSuccess)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user