Skip to content

Commit

Permalink
Merge pull request #372 from jchanvfx/add_command_bugfix_#298
Browse files Browse the repository at this point in the history
Add command bugfix #298
  • Loading branch information
jchanvfx authored Aug 14, 2023
2 parents 78f2fe2 + 387e235 commit 2b3d8f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions NodeGraphQt/base/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ def add_command(self, name, func=None, node_type=None, node_class=None):
for menu in node_menus:
menu.addAction(action)

qaction = node_menu.addAction(action)
command = NodeGraphCommand(self._graph, qaction, func)
node_menu.addAction(action)
command = NodeGraphCommand(self._graph, action, func)
self._commands[name] = command
self._items.append(command)
return command
Expand Down
2 changes: 1 addition & 1 deletion NodeGraphQt/pkg_info.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
__version__ = '0.6.17'
__version__ = '0.6.18'
__status__ = 'Work in Progress'
__license__ = 'MIT'

Expand Down

0 comments on commit 2b3d8f6

Please sign in to comment.