Fix bug 3644: Make cancel button the default in revert dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18527 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2007-05-26 17:42:23 +00:00
parent 431caa02e3
commit de9fd7fafb

View File

@ -910,7 +910,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
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();