mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
* InsetMathHull:
- fix rest of bug 518. Part of this fix was already (accidentally) committed by Uwe in r24667. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24689 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2e9e375f73
commit
4ba07f11bd
@ -1248,8 +1248,10 @@ bool InsetMathHull::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
case LFUN_MATH_NONUMBER: {
|
||||
// FIXME: what is the right test, this or the one of
|
||||
// LABEL_INSERT?
|
||||
status.enabled(display());
|
||||
bool const enable = (type_ == hullMultline) ?
|
||||
(nrows() - 1 == cur.row()) : display();
|
||||
row_type const r = (type_ == hullMultline) ? nrows() - 1 : cur.row();
|
||||
status.enabled(enable);
|
||||
status.setOnOff(numbered(r));
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user