Fix merge error.

This commit is contained in:
Jeff Young 2019-05-16 20:05:45 +01:00
parent 97445f1714
commit 48fb78418c
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ void TOOL_DISPATCHER::DispatchWxEvent( wxEvent& aEvent )
// TODO That's a big ugly workaround, somehow DRAWPANEL_GAL loses focus
// after second LMB click and currently I have no means to do better debugging
if( type == wxEVT_LEFT_UP )
static_cast<PCB_BASE_FRAME*>( m_toolMgr->GetEditFrame() )->GetGalCanvas()->SetFocus();
m_toolMgr->GetEditFrame()->GetGalCanvas()->SetFocus();
#endif /* __APPLE__ */
}
else if( type == wxEVT_CHAR_HOOK || type == wxEVT_CHAR )