mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Do not save an emergency file after choosing to revert the document to the version saved on this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32170 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3e77106ff8
commit
b0eec33720
@ -2563,8 +2563,10 @@ bool GuiView::dispatch(FuncRequest const & cmd)
|
||||
int const ret = Alert::prompt(_("Revert to saved document?"),
|
||||
text, 1, 1, _("&Revert"), _("&Cancel"));
|
||||
|
||||
if (ret == 0)
|
||||
if (ret == 0) {
|
||||
doc_buffer->markClean();
|
||||
reloadBuffer();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user