Toggle properly the math-display icon

This commit is contained in:
Jean-Marc Lasgouttes 2015-04-16 18:51:29 +02:00
parent bdaa6fbb26
commit af4548cd6b

View File

@ -1645,6 +1645,7 @@ bool InsetMathHull::getStatus(Cursor & cur, FuncRequest const & cmd,
enable = display() != Inline;
}
status.setEnabled(enable);
status.setOnOff(display() != Inline);
return true;
}