From kde-commits Thu Mar 24 09:57:17 2016 From: Sven Langkamp Date: Thu, 24 Mar 2016 09:57:17 +0000 To: kde-commits Subject: [krita] libs/ui: Update eraser button highlight color when erase mode is changed by the application Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=145881344808649 Git commit f323d4c7d393a22e39702bfb44fd0409704ef67c by Sven Langkamp. Committed on 24/03/2016 at 09:53. Pushed by langkamp into branch 'master'. Update eraser button highlight color when erase mode is changed by the appl= ication M +1 -0 libs/ui/kis_paintop_box.cc http://commits.kde.org/krita/f323d4c7d393a22e39702bfb44fd0409704ef67c diff --git a/libs/ui/kis_paintop_box.cc b/libs/ui/kis_paintop_box.cc index 7bd3310..f144e69 100644 --- a/libs/ui/kis_paintop_box.cc +++ b/libs/ui/kis_paintop_box.cc @@ -720,6 +720,7 @@ void KisPaintopBox::slotCanvasResourceChanged(int /*key= */, const QVariant& /*v*/ m_eraseModeButton->defaultAction()->setChecked(compositeOp =3D= =3D COMPOSITE_ERASE); m_eraseModeButton->blockSignals(false); m_eraseModeButton->defaultAction()->blockSignals(false); + toggleHighlightedButton(m_eraseModeButton); } sender()->blockSignals(false); }