mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
Address #6674, better fix after 1.6.6 release.
No status entry needed, this is changing 1.6.6 new stuff. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34309 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f50e7bcc12
commit
1bbeb859d0
@ -1924,8 +1924,11 @@ void LyXFunc::checkExternallyModifiedBuffers()
|
|||||||
from_utf8((*bit)->absFileName()));
|
from_utf8((*bit)->absFileName()));
|
||||||
int const ret = Alert::prompt(_("Reload externally changed document?"),
|
int const ret = Alert::prompt(_("Reload externally changed document?"),
|
||||||
text, 0, 1, _("&Reload"), _("&Cancel"));
|
text, 0, 1, _("&Reload"), _("&Cancel"));
|
||||||
if (!ret)
|
if (!ret) {
|
||||||
reloadBuffer(*bit);
|
reloadBuffer(*bit);
|
||||||
|
checkExternallyModifiedBuffers();
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user