mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25630 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c602ab1524
commit
18e9698f6a
@ -2121,7 +2121,9 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
case LFUN_OUTLINE_DOWN:
|
||||
case LFUN_OUTLINE_IN:
|
||||
case LFUN_OUTLINE_OUT:
|
||||
enable = (cur.paragraph().layout().toclevel != Layout::NOT_IN_TOC);
|
||||
// FIXME: LyX is not ready for outlining within inset.
|
||||
enable = isMainText(cur.bv().buffer())
|
||||
&& cur.paragraph().layout().toclevel != Layout::NOT_IN_TOC;
|
||||
break;
|
||||
|
||||
case LFUN_NEWLINE_INSERT:
|
||||
|
Loading…
Reference in New Issue
Block a user