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 committed by Maciej Suminski
parent 6775cf392a
commit 561a962977
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 // do not capture or auto-pan until we start placing some text
Activate(); 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; bool placing = false;
// Main loop: keep receiving events // Main loop: keep receiving events