mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Report disabled BREAK_PARAGRAPH in MathHull getStatus so we can use command-alternatives.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36882 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b7bca67010
commit
e1636b9f24
@ -1479,6 +1479,11 @@ bool InsetMathHull::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
status.setEnabled(true);
|
||||
return true;
|
||||
|
||||
// we never allow this in math, and we want to bind enter
|
||||
// to another actions in command-alternatives
|
||||
case LFUN_BREAK_PARAGRAPH:
|
||||
status.setEnabled(false);
|
||||
return true;
|
||||
case LFUN_MATH_MUTATE: {
|
||||
HullType const ht = hullType(cmd.argument());
|
||||
status.setOnOff(type_ == ht);
|
||||
|
Loading…
Reference in New Issue
Block a user