* compile fix for vc++

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27578 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-11-16 19:25:22 +00:00
parent f481bf03d4
commit 19b000287f

View File

@ -897,13 +897,14 @@ FuncStatus BufferView::getStatus(FuncRequest const & cmd)
flag.setEnabled(! this->cursor().inRegexped());
break;
case LFUN_COPY_LABEL_AS_REF:
case LFUN_COPY_LABEL_AS_REF: {
// if there is an inset at cursor, see whether it
// handles the lfun, other start from scratch
Inset * inset = cur.nextInset();
if (!inset || !inset->getStatus(cur, cmd, flag))
flag = lyx::getStatus(cmd);
break;
}
case LFUN_NEXT_INSET_TOGGLE:
case LFUN_NEXT_INSET_MODIFY: {