Shouldn't be needed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30267 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-06-26 12:30:22 +00:00
parent b627182bb4
commit 7d2331fc17

View File

@ -473,7 +473,6 @@ 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;