Set default to button which does _NOT_ discard data (part of #8787)

This commit is contained in:
Juergen Spitzmueller 2013-11-18 15:05:42 +01:00
parent fc00c117fc
commit dd739820d2

View File

@ -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;