diff --git a/pcbnew/tools/pcb_selection_tool.cpp b/pcbnew/tools/pcb_selection_tool.cpp index ad428303f1..314ddb826f 100644 --- a/pcbnew/tools/pcb_selection_tool.cpp +++ b/pcbnew/tools/pcb_selection_tool.cpp @@ -1164,7 +1164,7 @@ void PCB_SELECTION_TOOL::selectConnectedTracks( BOARD_CONNECTED_ITEM& aStartItem break; } - item->SetState( TEMP_SELECTED, false ); + item->ClearFlags( TEMP_SELECTED ); } std::vector< std::pair > activePts;