Bug 387257

Summary: Cancel button in toolbar color selector doesn't cancel
Product: [Applications] krita Reporter: Nicholas LaPointe <nicholaslapointe8>
Component: Color SelectorsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nicholas LaPointe 2017-11-24 12:29:06 UTC
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.
Comment 1 Halla Rempt 2017-11-24 14:27:02 UTC
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