Fixed bug where "add text" tool in module editor did not update the toolbar radio buttons correctly

This commit is contained in:
Andrew Zonenberg 2015-07-11 17:03:50 -07:00
parent 4c065e63c8
commit 31c9856d22
1 changed files with 1 additions and 1 deletions

View File

@ -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