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.
rempt | Sep 10 2019, 8:27 AM |