Commit 677ef400 authored by Alexander Semke's avatar Alexander Semke

[worksheet] fix the mouss press event in Axis. This fixes the regression

with axis being not selectable via mouse click.
parent 670f5e95
......@@ -2112,9 +2112,10 @@ void AxisPrivate::mouseMoveEvent(QGraphicsSceneMouseEvent* event) {
}
void AxisPrivate::mouseReleaseEvent(QGraphicsSceneMouseEvent*) {
void AxisPrivate::mouseReleaseEvent(QGraphicsSceneMouseEvent* event) {
setCursor(Qt::ArrowCursor);
m_panningStarted = false;
QGraphicsItem::mouseReleaseEvent(event);
}
void AxisPrivate::setPrinting(bool on) {
......
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