Don't refill if zone fills aren't out-of-date.
This commit is contained in:
parent
05dae96275
commit
f83ebb316e
|
@ -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…
Reference in New Issue