pygui: avoid trying to bring up a terminal for rj45 nodes

This commit is contained in:
Blake Harnden 2020-07-06 21:37:04 -07:00
parent 6f7e42d310
commit 0045c8d79c

View file

@ -193,6 +193,7 @@ class CanvasNode:
def double_click(self, event: tk.Event) -> None:
if self.app.core.is_runtime():
if NodeUtils.is_container_node(self.core_node.type):
self.canvas.core.launch_terminal(self.core_node.id)
else:
self.show_config()