Diffusion Krita 152189e0452c

Fix "On cancel, restore the original color"

Authored by nicholasl on Nov 24 2017, 5:26 PM.

Description

Fix "On cancel, restore the original color"

This fixes a bug in 92d5ba7cc4bb84e5c8d4501ffb716feed69039ff , where the color would be
incorrectly set upon canceling the dialog.

The original color is stored into m_d->previousColor through calls to setPreviousColor(),
so this returns that instead.

Details

Committed
nicholaslNov 24 2017, 5:26 PM
Parents
R37:eb5777b208b3: Implement at least some error reporting when the saving fails
Branches
Unknown
Tags
Unknown