From 2f4d4879c1b82d5e3a308a77beab32c68bf935ae Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 12 Mar 2011 13:32:04 +0100 Subject: [PATCH] gerbview: refresh screen when active layer is selecte from the layer mamager. --- gerbview/class_gerbview_layer_widget.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gerbview/class_gerbview_layer_widget.cpp b/gerbview/class_gerbview_layer_widget.cpp index d533d5902b..f4dc8c594f 100644 --- a/gerbview/class_gerbview_layer_widget.cpp +++ b/gerbview/class_gerbview_layer_widget.cpp @@ -204,8 +204,7 @@ bool GERBER_LAYER_WIDGET::OnLayerSelect( int aLayer ) // false from this function. myframe->setActiveLayer( aLayer, false ); myframe->syncLayerBox(); - if(DisplayOpt.ContrastModeDisplay) - myframe->DrawPanel->Refresh(); + myframe->DrawPanel->Refresh(); return true; }