Properly set keepout flag for new zones in GAL
This commit is contained in:
parent
72a69f9428
commit
eaea15fbef
|
@ -1159,6 +1159,7 @@ int DRAWING_TOOL::drawZone( bool aKeepout )
|
||||||
// Get the current default settings for zones
|
// Get the current default settings for zones
|
||||||
ZONE_SETTINGS zoneInfo = m_frame->GetZoneSettings();
|
ZONE_SETTINGS zoneInfo = m_frame->GetZoneSettings();
|
||||||
zoneInfo.m_CurrentZone_Layer = m_frame->GetScreen()->m_Active_Layer;
|
zoneInfo.m_CurrentZone_Layer = m_frame->GetScreen()->m_Active_Layer;
|
||||||
|
zoneInfo.SetIsKeepout(aKeepout);
|
||||||
|
|
||||||
m_controls->SetAutoPan( true );
|
m_controls->SetAutoPan( true );
|
||||||
m_controls->CaptureCursor( true );
|
m_controls->CaptureCursor( true );
|
||||||
|
|
Loading…
Reference in New Issue