Diffusion Krita 188dbe65a9b1

Fix 'Enforce palette colors' feature

Authored by amedonosova on Jun 10 2019, 4:58 AM.

Description

Fix 'Enforce palette colors' feature

Since the 'Enforce palette colors' is a feature of the internal color
selector, this commit moves the functionality from KisPaletteView to
KisDlgInternalColorSelector. Also, that way the color change is forced
only once upon foreground color change, preventing cycling signals and confusing color changes
(KisPaletteView can be used more than once with different color palettes).

Removes KisPaletteView::slotFGColorResourceChanged, the function is
obsolete: it was meant to solve bug 402072 that is now fixed in a better way.

BACKPORT:krita/4.2
BUG:408256
CCBUG:402072

Details

Committed
remptJun 17 2019, 8:17 AM
Parents
R37:930a4d76b27c: Use untranslated strings to store the last used open pane
Branches
Unknown
Tags
Unknown