diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 2b8356a25f..d359b888b1 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -473,6 +473,9 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const break; case LFUN_VC_LOCKING_TOGGLE: enable = !buf->isReadonly() && buf->lyxvc().lockingToggleEnabled(); + flag.setEnabled(enable); + if (enable) + flag.setOnOff(!buf->lyxvc().locker().empty()); break; case LFUN_VC_REVERT: enable = buf->lyxvc().inUse();