diff --git a/NodeGraphQt/base/menu.py b/NodeGraphQt/base/menu.py index efcb446d..035568a4 100644 --- a/NodeGraphQt/base/menu.py +++ b/NodeGraphQt/base/menu.py @@ -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 diff --git a/NodeGraphQt/pkg_info.py b/NodeGraphQt/pkg_info.py index 9dd6995a..274b2646 100644 --- a/NodeGraphQt/pkg_info.py +++ b/NodeGraphQt/pkg_info.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -__version__ = '0.6.17' +__version__ = '0.6.18' __status__ = 'Work in Progress' __license__ = 'MIT'