Skip to content

Commit 2b3d8f6

Browse files
authored
Merge pull request #372 from jchanvfx/add_command_bugfix_#298
Add command bugfix #298
2 parents 78f2fe2 + 387e235 commit 2b3d8f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

NodeGraphQt/base/menu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ def add_command(self, name, func=None, node_type=None, node_class=None):
224224
for menu in node_menus:
225225
menu.addAction(action)
226226

227-
qaction = node_menu.addAction(action)
228-
command = NodeGraphCommand(self._graph, qaction, func)
227+
node_menu.addAction(action)
228+
command = NodeGraphCommand(self._graph, action, func)
229229
self._commands[name] = command
230230
self._items.append(command)
231231
return command

NodeGraphQt/pkg_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python
22
# -*- coding: utf-8 -*-
3-
__version__ = '0.6.17'
3+
__version__ = '0.6.18'
44
__status__ = 'Work in Progress'
55
__license__ = 'MIT'
66

0 commit comments

Comments
 (0)