As said. This seems a very sensible idea. Accidental reversion is bad. The requester also suggested that the default in the Close dialog should also be Cancel. It seems to me that Save is good here, but it would be easy to change that one, too.
Richard -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Index: LyXFunc.cpp =================================================================== --- LyXFunc.cpp (revision 18504) +++ LyXFunc.cpp (working copy) @@ -910,7 +910,7 @@ docstring text = bformat(_("Any changes will be lost. Are you sure " "you want to revert to the saved version of the document %1$s?"), file); int const ret = Alert::prompt(_("Revert to saved document?"), - text, 0, 1, _("&Revert"), _("&Cancel")); + text, 1, 1, _("&Revert"), _("&Cancel")); if (ret == 0) reloadBuffer();