This commit is contained in:
Huy Pham 2020-05-07 10:01:03 -07:00
parent 9bb7902060
commit 002caf09bf

View file

@ -213,10 +213,11 @@ class CanvasNode:
self.context.add_command( self.context.add_command(
label="Config Services", command=self.show_config_services label="Config Services", command=self.show_config_services
) )
self.context.add_command( if self.app.canvas.selection:
label="Multiple Node Service Configuration", self.context.add_command(
command=self.multiple_node_service_config, label="Multiple Node Service Configuration",
) command=self.multiple_node_service_config,
)
if is_emane: if is_emane:
self.context.add_command( self.context.add_command(
label="EMANE Config", command=self.show_emane_config label="EMANE Config", command=self.show_emane_config
@ -300,7 +301,6 @@ class CanvasNode:
dialog.show() dialog.show()
def multiple_node_service_config(self): def multiple_node_service_config(self):
print("multiple nodes services config ")
dialog = MultipleNodeServiceDialog(self.app) dialog = MultipleNodeServiceDialog(self.app)
dialog.show() dialog.show()