Diffusion Krita b22e78f4c0bc

Don't return between QPainter save and restore

Authored by Mathias Wein <lynx.mw@gmail.com> on Sep 1 2019, 10:40 PM.

Description

Don't return between QPainter save and restore

From Qt docs:
"A save() must be followed by a corresponding restore();"

So just move the conditional return up by one statement to avoid
incorrect stack unwinding in KisPaletteDelegate.

Details

Committed
remptSep 10 2019, 8:27 AM
Parents
R37:171f6ebfd2c5: Add back reworked HDR handling to KisVisualColorSelector
Branches
Unknown
Tags
Unknown