• Mathias Wein's avatar
    Don't return between QPainter save and restore · 5c326ec1
    Mathias Wein authored
    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.
    5c326ec1