diff --git a/pcbnew/tools/selection_tool.h b/pcbnew/tools/selection_tool.h index bec3a8a871..6d485395fa 100644 --- a/pcbnew/tools/selection_tool.h +++ b/pcbnew/tools/selection_tool.h @@ -55,6 +55,10 @@ public: void Reset(); int Main( TOOL_EVENT& aEvent ); + const std::set& GetSelection() const + { + return m_selectedItems; + } private: void selectSingle( const VECTOR2I& aWhere );