Browse Source

pcbnew: Ensure save dialog with zones

Fixes: lp:1833748
* https://bugs.launchpad.net/kicad/+bug/1833748
pull/14/head
Seth Hillbrand 6 years ago
parent
commit
febc8cd6aa
  1. 3
      pcbnew/class_board.h

3
pcbnew/class_board.h

@ -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;

Loading…
Cancel
Save