mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Allow reload if buffer is externally modified.
Follow-up of 2df82c4a44
.
This commit is contained in:
parent
64d1751f2f
commit
9cdae51688
@ -1879,7 +1879,8 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
|
||||
|
||||
case LFUN_BUFFER_RELOAD:
|
||||
enable = doc_buffer && !doc_buffer->isUnnamed()
|
||||
&& doc_buffer->fileName().exists() && !doc_buffer->isClean();
|
||||
&& doc_buffer->fileName().exists()
|
||||
&& (!doc_buffer->isClean() || doc_buffer->notifiesExternalModification());
|
||||
break;
|
||||
|
||||
case LFUN_BUFFER_CHILD_OPEN:
|
||||
|
Loading…
Reference in New Issue
Block a user