pcbnew: Ensure save dialog with zones

Fixes: lp:1833748
* https://bugs.launchpad.net/kicad/+bug/1833748
This commit is contained in:
Seth Hillbrand 2019-06-22 08:44:20 -07:00
parent 463e061740
commit febc8cd6aa
1 changed files with 2 additions and 1 deletions

View File

@ -273,7 +273,8 @@ public:
bool IsEmpty() const
{
return m_Drawings.GetCount() == 0 && m_Modules.GetCount() == 0 &&
m_Track.GetCount() == 0 && m_SegZoneDeprecated.GetCount() == 0;
m_Track.GetCount() == 0 && m_SegZoneDeprecated.GetCount() == 0 &&
m_ZoneDescriptorList.empty();
}
void Move( const wxPoint& aMoveVector ) override;