diff options
Diffstat (limited to 'src/main/python/utils/graphics.py')
-rw-r--r-- | src/main/python/utils/graphics.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/python/utils/graphics.py b/src/main/python/utils/graphics.py index 0dca012..a9820a2 100644 --- a/src/main/python/utils/graphics.py +++ b/src/main/python/utils/graphics.py @@ -22,9 +22,10 @@ class customView(QGraphicsView): self.setAcceptDrops(True) #sets ability to accept drops if scene: #create necessary undo redo actions to accept keyboard shortcuts - self.addAction(scene.undoAction) - self.addAction(scene.redoAction) - self.addAction(scene.deleteAction) + # self.addAction(scene.undoAction) + # self.addAction(scene.redoAction) + # self.addAction(scene.deleteAction) + pass #following four functions are required to be overridden for drag-drop functionality def dragEnterEvent(self, QDragEnterEvent): |