Commit 2d817ba7 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Restore old fg/bg color when shape selection tool gets deactivated

parent 510a813c
......@@ -351,6 +351,8 @@ void KoFillConfigWidget::activate()
void KoFillConfigWidget::deactivate()
{
emit sigInternalRecoverColorInResourceManager();
KIS_SAFE_ASSERT_RECOVER_RETURN(d->deactivationLocks.empty());
d->deactivationLocks.push_back(KisAcyclicSignalConnector::Blocker(d->shapeChangedAcyclicConnector));
d->deactivationLocks.push_back(KisAcyclicSignalConnector::Blocker(d->resourceManagerAcyclicConnector));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment