Fix merge error.
This commit is contained in:
parent
97445f1714
commit
48fb78418c
|
@ -363,7 +363,7 @@ void TOOL_DISPATCHER::DispatchWxEvent( wxEvent& aEvent )
|
||||||
// TODO That's a big ugly workaround, somehow DRAWPANEL_GAL loses focus
|
// 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
|
// after second LMB click and currently I have no means to do better debugging
|
||||||
if( type == wxEVT_LEFT_UP )
|
if( type == wxEVT_LEFT_UP )
|
||||||
static_cast<PCB_BASE_FRAME*>( m_toolMgr->GetEditFrame() )->GetGalCanvas()->SetFocus();
|
m_toolMgr->GetEditFrame()->GetGalCanvas()->SetFocus();
|
||||||
#endif /* __APPLE__ */
|
#endif /* __APPLE__ */
|
||||||
}
|
}
|
||||||
else if( type == wxEVT_CHAR_HOOK || type == wxEVT_CHAR )
|
else if( type == wxEVT_CHAR_HOOK || type == wxEVT_CHAR )
|
||||||
|
|
Loading…
Reference in New Issue