From 424aa28e1f5ca7240d59e58187224d1109b9563a Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 30 Aug 2013 10:23:18 +0200 Subject: [PATCH] Added SELECTION_TOOL::GetSelection() --- pcbnew/tools/selection_tool.h | 4 ++++ 1 file changed, 4 insertions(+) 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 );