updated node context menu option for wireless to use nodeutils

This commit is contained in:
Blake Harnden 2019-12-06 09:13:58 -08:00
parent 49acac026c
commit b9bbf397c9

View file

@ -219,7 +219,7 @@ class CanvasNode:
context.add_command(
label="Mobility Config", command=self.show_mobility_config
)
if is_wlan or is_emane:
if NodeUtils.is_wireless_node(self.core_node.type):
context.add_command(label="Link To All MDRs", state=tk.DISABLED)
context.add_command(label="Select Members", state=tk.DISABLED)
context.add_command(label="Select Adjacent", state=tk.DISABLED)