Browse Source

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

pull/1/head
Maciej Suminski 12 years ago
parent
commit
b649578734
  1. 5
      pcbnew/pcbnew_config.cpp

5
pcbnew/pcbnew_config.cpp

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

Loading…
Cancel
Save