Force footprint viewers to have a cursor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4528
This commit is contained in:
parent
a52435bbb0
commit
28a4813c71
|
@ -275,6 +275,9 @@ void DISPLAY_FOOTPRINTS_FRAME::LoadSettings( APP_SETTINGS_BASE* aCfg )
|
|||
auto cfg = dynamic_cast<CVPCB_SETTINGS*>( aCfg );
|
||||
wxCHECK( cfg, /* void */ );
|
||||
|
||||
// We don't allow people to change this right now, so make sure it's on
|
||||
GetWindowSettings( cfg )->cursor.always_show_cursor = true;
|
||||
|
||||
EDA_DRAW_FRAME::LoadSettings( cfg );
|
||||
|
||||
SetDisplayOptions( cfg->m_FootprintViewerDisplayOptions );
|
||||
|
|
|
@ -722,6 +722,9 @@ void FOOTPRINT_VIEWER_FRAME::LoadSettings( APP_SETTINGS_BASE* aCfg )
|
|||
auto cfg = dynamic_cast<PCBNEW_SETTINGS*>( aCfg );
|
||||
wxCHECK( cfg, /*void*/ );
|
||||
|
||||
// We don't allow people to change this right now, so make sure it's on
|
||||
GetWindowSettings( cfg )->cursor.always_show_cursor = true;
|
||||
|
||||
PCB_BASE_FRAME::LoadSettings( aCfg );
|
||||
|
||||
// Fetch grid settings from Footprint Editor
|
||||
|
|
Loading…
Reference in New Issue