From 561a962977cb5d0c87ea13e861fd9e2e4fd6c148 Mon Sep 17 00:00:00 2001 From: Andrew Zonenberg Date: Sat, 11 Jul 2015 17:03:50 -0700 Subject: [PATCH] Fixed bug where "add text" tool in module editor did not update the toolbar radio buttons correctly --- pcbnew/tools/drawing_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/drawing_tool.cpp b/pcbnew/tools/drawing_tool.cpp index 769e1c689f..4dbc4e8fda 100644 --- a/pcbnew/tools/drawing_tool.cpp +++ b/pcbnew/tools/drawing_tool.cpp @@ -1254,7 +1254,7 @@ int DRAWING_TOOL::placeTextModule() // do not capture or auto-pan until we start placing some text Activate(); - m_frame->SetToolID( ID_PCB_ADD_TEXT_BUTT, wxCURSOR_PENCIL, _( "Add text" ) ); + m_frame->SetToolID( ID_MODEDIT_TEXT_TOOL, wxCURSOR_PENCIL, _( "Add text" ) ); bool placing = false; // Main loop: keep receiving events