Make sure ratsnest gets redrawn when enabled
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5335
This commit is contained in:
parent
49ac89f72c
commit
63fb6d49e0
|
@ -1414,6 +1414,7 @@ void APPEARANCE_CONTROLS::onObjectVisibilityChanged( GAL_LAYER_ID aLayer, bool i
|
|||
PCB_DISPLAY_OPTIONS opt = m_frame->GetDisplayOptions();
|
||||
opt.m_ShowGlobalRatsnest = isVisible;
|
||||
m_frame->SetDisplayOptions( opt );
|
||||
m_frame->GetCanvas()->RedrawRatsnest();
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue