From b9bbf397c96f9eaade45e97a093602b6e0d3ce27 Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Fri, 6 Dec 2019 09:13:58 -0800 Subject: [PATCH] updated node context menu option for wireless to use nodeutils --- coretk/coretk/graph/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coretk/coretk/graph/node.py b/coretk/coretk/graph/node.py index 20e95867..f726739c 100644 --- a/coretk/coretk/graph/node.py +++ b/coretk/coretk/graph/node.py @@ -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)