Honor Fill_All_Zones()'s aVerbose parameter.
Fixes: lp:1740909 * https://bugs.launchpad.net/kicad/+bug/1740909
This commit is contained in:
parent
2dec95b4e6
commit
8de0598789
|
@ -99,12 +99,16 @@ int PCB_EDIT_FRAME::Fill_All_Zones( wxWindow * aActiveWindow, bool aVerbose )
|
||||||
toFill.push_back(zone);
|
toFill.push_back(zone);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ZONE_FILLER filler( GetBoard() );
|
||||||
|
|
||||||
|
if( aVerbose )
|
||||||
|
{
|
||||||
std::unique_ptr<WX_PROGRESS_REPORTER> progressReporter(
|
std::unique_ptr<WX_PROGRESS_REPORTER> progressReporter(
|
||||||
new WX_PROGRESS_REPORTER( aActiveWindow, _( "Fill All Zones" ), 3 )
|
new WX_PROGRESS_REPORTER( aActiveWindow, _( "Fill All Zones" ), 3 )
|
||||||
);
|
);
|
||||||
|
|
||||||
ZONE_FILLER filler( GetBoard() );
|
|
||||||
filler.SetProgressReporter( progressReporter.get() );
|
filler.SetProgressReporter( progressReporter.get() );
|
||||||
|
}
|
||||||
|
|
||||||
filler.Fill( toFill );
|
filler.Fill( toFill );
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue