From 209e630873736901fd650a8fa43340979fc89929 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 4 Jun 2015 14:54:08 +0200 Subject: [PATCH] Disable net highlighting after loading a new board. --- pcbnew/tools/selection_tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index a450bafc12..9aa4db8cef 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -116,6 +116,7 @@ void SELECTION_TOOL::Reset( RESET_REASON aReason ) // without changing their properties (as they are already deleted // while a new board is loaded) m_selection.clear(); + getView()->GetPainter()->GetSettings()->SetHighlight( false ); } else // Restore previous properties of selected items and remove them from containers