diff --git a/pcbnew/class_board.h b/pcbnew/class_board.h index 9e5edddb8e..664fa40572 100644 --- a/pcbnew/class_board.h +++ b/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;