]> git.lyx.org Git - features.git/commit
Fix getStatus for math-mutate and math-display
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 12 May 2016 07:24:55 +0000 (09:24 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 12 May 2016 16:02:24 +0000 (18:02 +0200)
commitfb5780d203267c40e5ea60c0a6a7542bdfb1b64e
treecb0a2629d1283516148a668519111df8b2ea0016
parent2766857f012833965ad4b62dee3f29f3a7f3425c
Fix getStatus for math-mutate and math-display

Those two functions used two different hackish and buggy
implementation to know when the function is disabled. Replace that by
asking the containing inset whether it accepts inserting display math
inset.

Fixes bug #10033.
(cherry picked from commit de5630a1562054cb969b106e35f84bfe1e99002a)
src/mathed/InsetMathHull.cpp
status.22x