When selecting a color from the selector in the toolbar (between patterns and brush settings), the color is changed immediately. Pressing cancel exits the dialog without restoring the old color.
Git commit 92d5ba7cc4bb84e5c8d4501ffb716feed69039ff by Boudewijn Rempt. Committed on 24/11/2017 at 14:26. Pushed by rempt into branch 'master'. On cancel, restore the original color M +9 -1 libs/ui/dialogs/kis_dlg_internal_color_selector.cpp M +3 -0 libs/ui/dialogs/kis_dlg_internal_color_selector.h https://commits.kde.org/krita/92d5ba7cc4bb84e5c8d4501ffb716feed69039ff