Skip to content

Commit

Permalink
Merge pull request LeGoffLoic#21 from glm-ypinczon/fix_nodzNotesZvalue
Browse files Browse the repository at this point in the history
Fixed bad merge (notes were not always in behind anymore)
  • Loading branch information
glm-ypinczon authored Jul 5, 2018
2 parents 060d709 + 966abec commit 166f8e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nodz_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1621,6 +1621,8 @@ def mouseReleaseEvent(self, event):
self.scene().parent().signal_NodeRightClicked.emit(self.name)
super(NodeItem, self).mouseReleaseEvent(event)

self.setZValue(self.baseZValue) #restore the base Z order (notes behind, other ndoes in front...)

def hoverLeaveEvent(self, event):
"""
.
Expand Down

0 comments on commit 166f8e0

Please sign in to comment.