gerbview: refresh screen when active layer is selecte from the layer mamager.

This commit is contained in:
jean-pierre charras 2011-03-12 13:32:04 +01:00
parent 28774e41c3
commit 2f4d4879c1
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}