Browse Source

Don't refill if zone fills aren't out-of-date.

pull/6/merge
Jeff Young 8 years ago
parent
commit
f83ebb316e
  1. 4
      pcbnew/zone_filler.cpp

4
pcbnew/zone_filler.cpp

@ -182,9 +182,9 @@ void ZONE_FILLER::Fill( std::vector<ZONE_CONTAINER*> 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 )
{

Loading…
Cancel
Save