Kick-start appearance panel to redraw on Mac
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6827
This commit is contained in:
parent
cd88071369
commit
60503652a1
|
@ -350,6 +350,17 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||||
|
|
||||||
// if( !appK2S.FileExists() )
|
// if( !appK2S.FileExists() )
|
||||||
// GetMenuBar()->FindItem( ID_GEN_EXPORT_FILE_STEP )->Enable( false );
|
// GetMenuBar()->FindItem( ID_GEN_EXPORT_FILE_STEP )->Enable( false );
|
||||||
|
|
||||||
|
// AUI doesn't refresh properly on wxMac after changes in eb7dc6dd, so force it to
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
if( Kiface().IsSingle() )
|
||||||
|
{
|
||||||
|
CallAfter( [&]()
|
||||||
|
{
|
||||||
|
m_appearancePanel->OnBoardChanged();
|
||||||
|
} );
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue