Skip to content

Commit adfb7ef

Browse files
committed
minor fix
1 parent 69db6be commit adfb7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NodeGraphQt/base/menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def set_hidden(self, hidden):
311311
Args:
312312
hidden (bool): true to hide the command item.
313313
"""
314-
self.qaction.setVisible(hidden)
314+
self.qaction.setVisible(not hidden)
315315

316316
def show(self):
317317
"""

0 commit comments

Comments
 (0)