Skip to content

Commit

Permalink
Node labels must be selectable.
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Jun 29, 2014
1 parent 58ddbc8 commit 28ff103
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gns3/items/note_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def setEditable(self, value):
"""

self._editable = value
if not self._editable:
self.setFlag(self.ItemIsSelectable, enabled=False)
else:
self.setFlag(self.ItemIsSelectable)
#if not self._editable:
# self.setFlag(self.ItemIsSelectable, enabled=False)
#else:
# self.setFlag(self.ItemIsSelectable)

def keyPressEvent(self, event):
"""
Expand Down

0 comments on commit 28ff103

Please sign in to comment.