mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Fix bug #6477: LFUN_OUTLINE_* don't work anymore.
This code was erroneously killed in r33050. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33229 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
686cd4e3a5
commit
f68fcc98a9
@ -2509,6 +2509,10 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
case LFUN_OUTLINE_DOWN:
|
||||
case LFUN_OUTLINE_IN:
|
||||
case LFUN_OUTLINE_OUT:
|
||||
// FIXME: LyX is not ready for outlining within inset.
|
||||
enable = isMainText()
|
||||
&& cur.paragraph().layout().toclevel != Layout::NOT_IN_TOC;
|
||||
break;
|
||||
|
||||
case LFUN_NEWLINE_INSERT:
|
||||
// LaTeX restrictions (labels or empty par)
|
||||
|
Loading…
Reference in New Issue
Block a user