fpviewer: Second go at preventing focus stealing
Fixes: lp:1841565 * https://bugs.launchpad.net/kicad/+bug/1841565
This commit is contained in:
parent
102f6d69c4
commit
69b6052d6f
|
@ -245,6 +245,8 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( KIWAY* aKiway, wxWindow* aParent
|
|||
// after changing something to the aui manager call Update() to reflect the changes
|
||||
m_auimgr.Update();
|
||||
|
||||
// The canvas should not steal the focus from the list boxes
|
||||
GetCanvas()->SetCanFocus( false );
|
||||
GetCanvas()->GetGAL()->SetAxesEnabled( true );
|
||||
GetCanvas()->GetView()->SetScale( GetZoomLevelCoeff() / GetScreen()->GetZoom() );
|
||||
ActivateGalCanvas();
|
||||
|
|
Loading…
Reference in New Issue