]> 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)
committerRichard Heck <rgheck@lyx.org>
Sun, 29 May 2016 21:55:45 +0000 (17:55 -0400)
commit282fe102f3dd8c2e3759612188415fda8adc3f94
treefc2ca2434192c72d2a9886f319ce1b0029e92574
parent5a76e5581f519fa8da18ec1db7871a3cfdd69d2f
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.
src/mathed/InsetMathHull.cpp