From b66199342762fe733eef3f481d858eed82601367 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 12 May 2016 13:54:14 +0200 Subject: [PATCH] Removed SELECTION_TOOL::EditModules() as there is already PCB_TOOL::SetEditModules() and SELECTION_TOOL::m_editModules shadows PCB_TOOL::m_editModules. --- pcbnew/tools/selection_tool.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/pcbnew/tools/selection_tool.h b/pcbnew/tools/selection_tool.h index b497240c6f..508d35f16a 100644 --- a/pcbnew/tools/selection_tool.h +++ b/pcbnew/tools/selection_tool.h @@ -137,18 +137,6 @@ public: */ const SELECTION& GetSelection(); - /** - * Function EditModules() - * - * Toggles edit module mode. When enabled, one may select parts of modules individually - * (graphics, pads, etc.), so they can be modified. - * @param aEnabled decides if the mode should be enabled. - */ - inline void EditModules( bool aEnabled ) - { - m_editModules = aEnabled; - } - inline CONDITIONAL_MENU& GetMenu() { return m_menu; @@ -339,9 +327,6 @@ private: /// Flag saying if multiple selection mode is active. bool m_multiple; - /// Edit module mode flag. - bool m_editModules; - /// Can other tools modify locked items. bool m_locked;