]> 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>
Thu, 8 Jun 2017 08:11:27 +0000 (10:11 +0200)
commit6fc72a1a1ffc6abb321ce1b7921eed5655302b40
tree26e6b64e8c7b0e243b0dc6aac4a1a9fcd0df9213
parent3cc3ff39a044a484faaaefbecf2a2937f7f102ef
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