From 9c6998c6bc1ea914997028d590d6e6af6fa74be1 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 );