From 07e7340a9683dc6b8028a6ed54ddc58e56cd0bf9 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 6 May 2018 14:05:07 +0100 Subject: [PATCH] Make sure doc gets refreshed when zone check results in refill. --- pcbnew/zones_by_polygon_fill_functions.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pcbnew/zones_by_polygon_fill_functions.cpp b/pcbnew/zones_by_polygon_fill_functions.cpp index 1c1a12322a..3d69d0da35 100644 --- a/pcbnew/zones_by_polygon_fill_functions.cpp +++ b/pcbnew/zones_by_polygon_fill_functions.cpp @@ -122,5 +122,12 @@ void PCB_EDIT_FRAME::Check_All_Zones( wxWindow* aActiveWindow ) filler.SetProgressReporter( progressReporter.get() ); if( filler.Fill( toFill, true ) ) + { m_ZoneFillsDirty = false; + + if( IsGalCanvasActive() && GetGalCanvas() ) + GetGalCanvas()->ForceRefresh(); + + GetCanvas()->Refresh(); + } }