mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
* 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:
parent
f481bf03d4
commit
19b000287f
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user