From f83ebb316e1427a6affde6f9ec4ac5e6e65a29f1 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 9 Apr 2018 17:04:51 +0100 Subject: [PATCH] Don't refill if zone fills aren't out-of-date. --- pcbnew/zone_filler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/zone_filler.cpp b/pcbnew/zone_filler.cpp index 4b8577975c..16b5bc95be 100644 --- a/pcbnew/zone_filler.cpp +++ b/pcbnew/zone_filler.cpp @@ -182,9 +182,9 @@ void ZONE_FILLER::Fill( std::vector aZones, bool aCheck ) outOfDate = true; } - if( aCheck && outOfDate ) + if( aCheck ) { - bool cancel = !IsOK( nullptr, _( "Zone fills are out-of-date. Re-fill?" ) ); + bool cancel = !outOfDate || !IsOK( nullptr, _( "Zone fills are out-of-date. Re-fill?" ) ); if( m_progressReporter ) {