File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1839,7 +1839,8 @@ def expand_group_node(self, node):
18391839 Returns:
18401840 SubGraph: sub node graph used to manage the group node session.
18411841 """
1842- assert isinstance (node , GroupNode ), 'node must be a GroupNode instance.'
1842+ if not isinstance (node , GroupNode ):
1843+ return
18431844 if self ._widget is None :
18441845 raise RuntimeError ('NodeGraph.widget not initialized!' )
18451846
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def build_context_menu(graph):
6969 'Auto Layout Down Stream' , _layout_graph_down , 'Ctrl+L' )
7070 node_menu .add_separator ()
7171 node_menu .add_command (
72- 'Expand Group' , _expand_group_node ,
72+ 'Expand Group Node ' , _expand_group_node ,
7373 QtGui .QKeySequence (QtCore .Qt .ALT + QtCore .Qt .Key_Return ))
7474
7575 # "Pipe" menu.
You can’t perform that action at this time.
0 commit comments