Commit 6a7a8328 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QuickToolBar: fixes gradient editing

parent 3ecdb94c
......@@ -714,12 +714,12 @@ void GradientLine::mouseReleaseEvent(QMouseEvent *event)
m_stops.insert(index, stopPos);
m_colorList.insert(index, QColor(Qt::white));
setCurrentIndex(index);
updateGradient();
}
}
}
m_dragActive = false;
m_yOffset = 0;
updateGradient();
update();
setFocus(Qt::MouseFocusReason);
}
......
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