Diffusion Krita dad2d742904a

Some signaling improvements in KisDlgInternalColorSelector:

Authored by Mathias Wein <lynx.mw@gmail.com> on Aug 22 2019, 8:30 PM.

Description

Some signaling improvements in KisDlgInternalColorSelector:

  • actually use the signal compressor to prevent excessive updating, so emit the signals in the slot for timeout()
  • slotLockSelector() was just an obfuscated m_d->allowUpdates = false; set it explicitly to make it consistent with the rest and remove this slot
  • make sure currentColor is in the proper color space after lockUsedColorSpace(), otherwise our input widgets will switch right back when the dialog gets shown
  • fix logic on which update calls to accept/ignore

Details

Committed
Mathias Wein <lynx.mw@gmail.com>Sep 5 2019, 7:28 PM
Parents
R37:9f40b7f9b13c: Cleanup KisVisualColorSelector signaling a bit:
Branches
Unknown
Tags
Unknown
Mathias Wein <lynx.mw@gmail.com> committed R37:dad2d742904a: Some signaling improvements in KisDlgInternalColorSelector: (authored by Mathias Wein <lynx.mw@gmail.com>).Sep 5 2019, 7:28 PM