Skip to content

Commit

Permalink
Merge pull request #26 from openalea/bugdrag
Browse files Browse the repository at this point in the history
Debug Drag and drop
  • Loading branch information
pradal authored Feb 17, 2023
2 parents 1cf4834 + 86af453 commit 72889bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openalea/visualea/node_treeview.py
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ def startDrag(self, supportedActions):
drag.setHotSpot(QtCore.QPoint(pixmap.width() // 2, pixmap.height() // 2))
drag.setPixmap(pixmap)

drag.start(QtCore.Qt.MoveAction)
drag.exec(QtCore.Qt.MoveAction)

def contextMenuEvent(self, event):
""" Context menu event : Display the menu"""
Expand Down

0 comments on commit 72889bb

Please sign in to comment.