We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e8300 commit 05e0b32Copy full SHA for 05e0b32
NodeGraphQt/base/menu.py
@@ -294,3 +294,15 @@ def run_command(self):
294
execute the menu command.
295
"""
296
self.qaction.trigger()
297
+
298
+ def show(self):
299
+ """
300
+ Set the command to be visible in the context menu.
301
302
+ self.qaction.setVisible(True)
303
304
+ def hide(self):
305
306
+ Set the command to be hidden in the context menu.
307
308
+ self.qaction.setVisible(False)
0 commit comments