mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Fix part 1 of bug #7351
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38017 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
55ef7b50b5
commit
dd23151da9
@ -1596,7 +1596,7 @@ bool InsetMathHull::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
// LABEL_INSERT?
|
||||
bool const enable = (type_ == hullMultline)
|
||||
? (nrows() - 1 == cur.row())
|
||||
: display() != Inline && nrows() > 1;
|
||||
: display() != Inline;
|
||||
row_type const r = (type_ == hullMultline) ? nrows() - 1 : cur.row();
|
||||
status.setEnabled(enable);
|
||||
status.setOnOff(enable && numbered(r));
|
||||
|
Loading…
Reference in New Issue
Block a user