Browse Source

oops, incompleted changeset

tags/v1.9.9
Nikita Zlobin Filipe Coelho <falktx@falktx.com> 6 years ago
parent
commit
2d40985d5f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/widgets/draggablegraphicsview.py

+ 2
- 2
source/widgets/draggablegraphicsview.py View File

@@ -67,10 +67,10 @@ class DraggableGraphicsView(QGraphicsView):

def keyPressEvent(self, event):
if event.key() == Qt.Key_Control:
self.m_ctrl_down = True
self.fCtrlDown = True
QGraphicsView.keyPressEvent(self, event)

def keyReleaseEvent(self, event):
if event.key() == Qt.Key_Control:
self.m_ctrl_down = False
self.fCtrlDown = False
QGraphicsView.keyReleaseEvent(self, event)

Loading…
Cancel
Save