diff --git a/pcbnew/zones_by_polygon_fill_functions.cpp b/pcbnew/zones_by_polygon_fill_functions.cpp index ca1155a2fd..023fb641d4 100644 --- a/pcbnew/zones_by_polygon_fill_functions.cpp +++ b/pcbnew/zones_by_polygon_fill_functions.cpp @@ -31,6 +31,8 @@ #include #include #include +#include +#include #include #include @@ -113,6 +115,8 @@ int PCB_EDIT_FRAME::Fill_Zone( ZONE_CONTAINER* aZone ) wxBusyCursor dummy; // Shows an hourglass cursor (removed by its destructor) aZone->BuildFilledSolidAreasPolygons( GetBoard() ); + aZone->ViewUpdate( KIGFX::VIEW_ITEM::ALL ); + GetBoard()->GetRatsnest()->Update( aZone ); OnModify();