mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Allow reload if buffer is externally modified.
Follow-up of 2df82c4a44
.
This commit is contained in:
parent
e97a82b7ff
commit
3d6b8c0abb
@ -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