Fix update of brightened objects on OSX.
The OSX implementation needs to be poked to update the brightening / unbrightening during running of the disambiguation menu. (FWIW, now that I've finally seen it in action, it's a REALLY cool feature.) Fixes: lp:1715440 * https://bugs.launchpad.net/kicad/+bug/1715440
This commit is contained in:
parent
33c2d6e4ba
commit
dc9d17100b
|
@ -739,8 +739,11 @@ bool TOOL_MANAGER::ProcessEvent( const TOOL_EVENT& aEvent )
|
||||||
{
|
{
|
||||||
auto f = dynamic_cast<EDA_DRAW_FRAME*>( GetEditFrame() );
|
auto f = dynamic_cast<EDA_DRAW_FRAME*>( GetEditFrame() );
|
||||||
|
|
||||||
if( f )
|
if( f )
|
||||||
f->GetGalCanvas()->Refresh(); // fixme: ugly hack, provide a method in TOOL_DISPATCHER.
|
f->GetGalCanvas()->Refresh(); // fixme: ugly hack, provide a method in TOOL_DISPATCHER.
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
wxTheApp->ProcessPendingEvents(); // required for updating brightening behind a popup menu
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
return hotkey_handled;
|
return hotkey_handled;
|
||||||
|
|
Loading…
Reference in New Issue