mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
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:
parent
431caa02e3
commit
de9fd7fafb
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user