mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
correct in LFUN_MATH_NUMBER_TOGGLE the conversion of display state to enabled state
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34634 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
df62af4323
commit
2052c1e7cc
@ -1469,7 +1469,7 @@ bool InsetMathHull::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
case LFUN_MATH_NUMBER_TOGGLE:
|
case LFUN_MATH_NUMBER_TOGGLE:
|
||||||
// FIXME: what is the right test, this or the one of
|
// FIXME: what is the right test, this or the one of
|
||||||
// LABEL_INSERT?
|
// LABEL_INSERT?
|
||||||
status.setEnabled(display());
|
status.setEnabled(display() != Inline);
|
||||||
status.setOnOff(numberedType());
|
status.setOnOff(numberedType());
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user