Tool indicator is resetted on canvas switch.
This commit is contained in:
parent
587f22e10b
commit
7614b93bf8
|
@ -1033,6 +1033,9 @@ void EDA_DRAW_FRAME::UseGalCanvas( bool aEnable )
|
|||
m_auimgr.GetPane( wxT( "DrawFrameGal" ) ).Show( aEnable );
|
||||
m_auimgr.Update();
|
||||
|
||||
// Reset current tool on switch();
|
||||
SetToolID( ID_NO_TOOL_SELECTED, wxCURSOR_DEFAULT, wxEmptyString );
|
||||
|
||||
m_galCanvasActive = aEnable;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue