From 51098578839bc16a1f674796ee59898cfebcfe9c Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 16 Sep 2020 19:15:14 -0400 Subject: [PATCH] Disable deselect net from main context menu Right now we can't track the intended item to deselect when there's an active selection already. Having this feature available just from the appearance panel should be fine. --- pcbnew/tools/selection_tool.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 3c4de99eb1..de939ff15c 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -73,7 +73,8 @@ public: Add( PCB_ACTIONS::selectConnection ); Add( PCB_ACTIONS::selectNet ); - Add( PCB_ACTIONS::deselectNet ); + // This could be enabled if we have better logic for picking the target net with the mouse + // Add( PCB_ACTIONS::deselectNet ); Add( PCB_ACTIONS::selectSameSheet ); }