diff --git a/qad/graphic/graphic.cpp b/qad/graphic/graphic.cpp index 4a86c83..b95528c 100644 --- a/qad/graphic/graphic.cpp +++ b/qad/graphic/graphic.cpp @@ -204,6 +204,7 @@ void Graphic::procGesture(QGesture * g) { if (!g) return; switch (g->gestureType()) { case Qt::PanGesture: { + if (need_mouse_pan) break; QPanGesture * pg = (QPanGesture*)g; QPointF dp = -pg->delta(); dp.rx() /= getScaleX();