]> git.lyx.org Git - features.git/commit
Fix drawing of collpsable insets
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 7 Jun 2017 10:20:33 +0000 (12:20 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 7 Jun 2017 10:20:33 +0000 (12:20 +0200)
commit18fb9cd7f9886295dbae66eb6ac060f9ac367f2d
treefd5e5e375a78e2e675239c888649c851254dd04b
parenta98df5853719256139977e5de0146f3604af9975
Fix drawing of collpsable insets

This is a follow-up to e194c9ce. There was actually no reason to let
InsetCollapsable and InsetText draw their own background. It is more
correct to remove the existing code and let the generic
Inset::drawBackground take command.

This allows to revert d207e85c.

Fixes bug #10587.
src/insets/InsetCollapsable.cpp
src/insets/InsetCollapsable.h
src/insets/InsetText.cpp
src/insets/InsetText.h