projects
/
mussa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92a9965
)
PathScene rare mousemove without mouseclick event bug fix.
author
Brandon King
<kingb@caltech.edu>
Wed, 8 Mar 2006 00:12:56 +0000
(
00:12
+0000)
committer
Brandon King
<kingb@caltech.edu>
Wed, 8 Mar 2006 00:12:56 +0000
(
00:12
+0000)
qui/PathScene.cxx
patch
|
blob
|
history
diff --git
a/qui/PathScene.cxx
b/qui/PathScene.cxx
index e97429cef7d0285f8551d89ba8dbc7d83f4fcdf4..17efa5cf7167f62233c8d791a392914e2d341e4e 100644
(file)
--- 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)