Commit d2d25125 authored by Boudewijn Rempt's avatar Boudewijn Rempt

BUG:358399 Show the preset again after switching back to a paint tool

parent af2bbbaa
......@@ -160,6 +160,7 @@ void KisToolPaint::canvasResourceChanged(int key, const QVariant& v)
void KisToolPaint::activate(ToolActivation toolActivation, const QSet<KoShape*> &shapes)
emit statusTextChanged(currentPaintOpPreset()->name());
KisTool::activate(toolActivation, shapes);
connect(actions().value("increase_brush_size"), SIGNAL(triggered()), SLOT(increaseBrushSize()), Qt::UniqueConnection);
connect(actions().value("decrease_brush_size"), SIGNAL(triggered()), SLOT(decreaseBrushSize()), Qt::UniqueConnection);
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