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