[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [krita] libs/ui: Better way to unset the erase mode. This correctly updates the brush size if the er
From: Sven Langkamp <sven.langkamp () gmail ! com>
Date: 2016-03-24 10:58:39
Message-ID: E1aj2yN-00084u-A6 () scm ! kde ! org
[Download RAW message or body]
Git commit 6752dbe794afb8effba426e5c376b7eb79976ef0 by Sven Langkamp.
Committed on 24/03/2016 at 10:58.
Pushed by langkamp into branch 'master'.
Better way to unset the erase mode. This correctly updates the brush size if the \
eraser brush size option is enabled BUG:350628
M +1 -1 libs/ui/kis_paintop_box.cc
http://commits.kde.org/krita/6752dbe794afb8effba426e5c376b7eb79976ef0
diff --git a/libs/ui/kis_paintop_box.cc b/libs/ui/kis_paintop_box.cc
index f144e69..35599a3 100644
--- a/libs/ui/kis_paintop_box.cc
+++ b/libs/ui/kis_paintop_box.cc
@@ -1048,7 +1048,7 @@ void KisPaintopBox::slotSwitchToPreviousPreset()
void KisPaintopBox::slotUnsetEraseMode()
{
if (m_currCompositeOpID == COMPOSITE_ERASE) {
- updateCompositeOp(m_prevCompositeOpID);
+ slotToggleEraseMode(false);
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic