FIxed invisible layers problem after changing the number of layers (GAL).

This commit is contained in:
Maciej Suminski 2014-08-12 10:17:16 +02:00
parent 84a985f8af
commit b649578734
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,7 @@
#include <kiface_i.h>
#include <project.h>
#include <class_drawpanel.h>
#include <class_draw_panel_gal.h>
#include <pcb_draw_panel_gal.h>
#include <confirm.h>
#include <gestfich.h>
#include <xnode.h>
@ -106,6 +106,9 @@ void PCB_EDIT_FRAME::Process_Config( wxCommandEvent& event )
OnModify();
ReCreateLayerBox();
ReFillLayerWidget();
if( IsGalCanvasActive() )
static_cast<PCB_DRAW_PANEL_GAL*>( GetGalCanvas() )->SyncLayersVisibility( GetBoard() );
}
break;