when manually closing the RasterLayerStyling panel, the show/hide button would still be checked

Issue #1229 resolved
Andreas Rabe created an issue