mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Move to tristate version of locking property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30265 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8f3ee7c3a4
commit
b627182bb4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user