Fix footprint marked as modified when layer visibility changed
Fixes: lp:1830330 * https://bugs.launchpad.net/kicad/+bug/1830330
This commit is contained in:
parent
7058b79bf1
commit
741140e4a4
|
@ -656,7 +656,9 @@ void PCB_LAYER_WIDGET::OnLayerVisible( int aLayer, bool isVisible, bool isFinal
|
|||
|
||||
brd->SetVisibleLayers( visibleLayers );
|
||||
|
||||
myframe->OnModify();
|
||||
// Layer visibility is not stored in .kicad_mod files
|
||||
if( !m_fp_editor_mode )
|
||||
myframe->OnModify();
|
||||
|
||||
EDA_DRAW_PANEL_GAL* galCanvas = myframe->GetGalCanvas();
|
||||
|
||||
|
|
Loading…
Reference in New Issue