From: Brandon King Date: Wed, 8 Mar 2006 00:12:56 +0000 (+0000) Subject: PathScene rare mousemove without mouseclick event bug fix. X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=4743d7663e69677a5c2148f1813e938723bddbc6 PathScene rare mousemove without mouseclick event bug fix. --- diff --git a/qui/PathScene.cxx b/qui/PathScene.cxx index e97429c..17efa5c 100644 --- a/qui/PathScene.cxx +++ b/qui/PathScene.cxx @@ -307,7 +307,8 @@ void PathScene::mousePressEvent( QMouseEvent *e) void PathScene::mouseMoveEvent( QMouseEvent *e) { - rubberBand->setGeometry(QRect(bandOrigin, e->pos()).normalized()); + if (drawingBand) + rubberBand->setGeometry(QRect(bandOrigin, e->pos()).normalized()); } void dumpRect(const QRect &r)