Hi, This is a partial fix for https://bugs.launchpad.net/kicad/+bug/793420 -- addresses the issue that layer visibility changes don't mark the board as needing a save.
-Jon
From ee6434e5691fc6f3be88cbce657dde99c3f33990 Mon Sep 17 00:00:00 2001 From: Jon Evans <[email protected]> Date: Wed, 13 Sep 2017 22:23:27 -0400 Subject: [PATCH] Set modified flag when changing layer visibility (lp:793420) --- pcbnew/class_pcb_layer_widget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/class_pcb_layer_widget.cpp b/pcbnew/class_pcb_layer_widget.cpp index 8c39e20a6..4490c26a2 100644 --- a/pcbnew/class_pcb_layer_widget.cpp +++ b/pcbnew/class_pcb_layer_widget.cpp @@ -614,6 +614,8 @@ void PCB_LAYER_WIDGET::OnLayerVisible( int aLayer, bool isVisible, bool isFinal brd->SetVisibleLayers( visibleLayers ); + myframe->OnModify(); + EDA_DRAW_PANEL_GAL* galCanvas = myframe->GetGalCanvas(); if( galCanvas ) -- 2.11.0
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

