diff --git a/gerbview/gerbview_frame.cpp b/gerbview/gerbview_frame.cpp index 8fe78c4403..d247752106 100644 --- a/gerbview/gerbview_frame.cpp +++ b/gerbview/gerbview_frame.cpp @@ -750,7 +750,7 @@ void GERBVIEW_FRAME::UpdateDisplayOptions( const GBR_DISPLAY_OPTIONS& aOptions ) view->UpdateAllItems( KIGFX::COLOR ); - GetGalCanvas()->Refresh( true ); + m_canvas->Refresh( true ); }