From dd739820d2fae110325db79f1b1256fd23719fda Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 18 Nov 2013 15:05:42 +0100 Subject: [PATCH] Set default to button which does _NOT_ discard data (part of #8787) --- src/buffer_funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer_funcs.cpp b/src/buffer_funcs.cpp index 85a22ebff7..d096eeb09b 100644 --- a/src/buffer_funcs.cpp +++ b/src/buffer_funcs.cpp @@ -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;