From 6362e5cf0f5b2f5c301cb58422ca04a1359358e7 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 23 Jan 2017 14:47:31 +0100 Subject: [PATCH] Added create() method for SELECTION_MENU --- pcbnew/tools/selection_tool.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index a2220f856f..f0333b4516 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -62,6 +62,12 @@ public: Add( COMMON_ACTIONS::selectCopper ); Add( COMMON_ACTIONS::selectNet ); } + +private: + CONTEXT_MENU* create() const override + { + return new SELECT_MENU(); + } };