ZONE properties: stage commit even if !Settings().m_AutoRefillZones
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8028
This commit is contained in:
parent
69fd0b38ff
commit
0a2c8575ce
|
@ -106,9 +106,6 @@ void PCB_EDIT_FRAME::Edit_Zone_Params( ZONE* aZone )
|
|||
|
||||
UpdateCopyOfZonesList( pickedList, deletedList, GetBoard() );
|
||||
|
||||
// Only auto-refill zones here if in user preferences
|
||||
if( Settings().m_AutoRefillZones )
|
||||
{
|
||||
// refill zones with the new properties applied
|
||||
std::vector<ZONE*> zones_to_refill;
|
||||
|
||||
|
@ -129,6 +126,9 @@ void PCB_EDIT_FRAME::Edit_Zone_Params( ZONE* aZone )
|
|||
|
||||
commit.Stage( pickedList );
|
||||
|
||||
// Only auto-refill zones here if in user preferences
|
||||
if( Settings().m_AutoRefillZones )
|
||||
{
|
||||
std::lock_guard<KISPINLOCK> lock( GetBoard()->GetConnectivity()->GetLock() );
|
||||
|
||||
if( zones_to_refill.size() )
|
||||
|
|
Loading…
Reference in New Issue