diff --git a/gerbview/gerbview_frame.cpp b/gerbview/gerbview_frame.cpp index 4f2a052e94..2c0d5c9435 100644 --- a/gerbview/gerbview_frame.cpp +++ b/gerbview/gerbview_frame.cpp @@ -877,7 +877,10 @@ void GERBVIEW_FRAME::SetActiveLayer( int aLayer, bool doLayerWidgetUpdate ) UpdateXORLayers(); if( doLayerWidgetUpdate ) + { m_LayersManager->SelectLayer( aLayer ); + m_LayersManager->OnLayerSelected(); + } UpdateTitleAndInfo();