diff --git a/sloth/gui/frameviewer.py b/sloth/gui/frameviewer.py index b3904ca..8ea5b0c 100644 --- a/sloth/gui/frameviewer.py +++ b/sloth/gui/frameviewer.py @@ -16,6 +16,7 @@ class GraphicsView(QGraphicsView): def __init__(self, parent=None): QGraphicsView.__init__(self, parent) + self.setDragMode(QGraphicsView.RubberBandDrag) #self.setDragMode(QGraphicsView.ScrollHandDrag) self.setRenderHints(QPainter.Antialiasing | QPainter.SmoothPixmapTransform | QPainter.TextAntialiasing); self.setStyleSheet("QFrame { border: 3px solid black }");