Fixed bug where "add text" tool in module editor did not update the toolbar radio buttons correctly
This commit is contained in:
parent
6775cf392a
commit
561a962977
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue