TEMP_SELECTED is in m_flags, not m_status.

Fixes https://gitlab.com/kicad/code/kicad/issues/9610
This commit is contained in:
Jeff Young 2021-11-21 23:47:43 +00:00
parent e60386f028
commit 8777ce3d4e
1 changed files with 1 additions and 1 deletions

View File

@ -1164,7 +1164,7 @@ void PCB_SELECTION_TOOL::selectConnectedTracks( BOARD_CONNECTED_ITEM& aStartItem
break; break;
} }
item->SetState( TEMP_SELECTED, false ); item->ClearFlags( TEMP_SELECTED );
} }
std::vector< std::pair<wxPoint, PCB_LAYER_ID> > activePts; std::vector< std::pair<wxPoint, PCB_LAYER_ID> > activePts;