diff --git a/pcbnew/tools/pcb_selection_tool.cpp b/pcbnew/tools/pcb_selection_tool.cpp index f4ff961bbd..a543375fe2 100644 --- a/pcbnew/tools/pcb_selection_tool.cpp +++ b/pcbnew/tools/pcb_selection_tool.cpp @@ -267,7 +267,7 @@ int PCB_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent ) try { - m_frame->GetPcbNewSettings()->m_TrackDragAction; + trackDragAction = m_frame->GetPcbNewSettings()->m_TrackDragAction; } catch( const std::runtime_error& e ) {