From febc8cd6aab951f7f62b3b7b930c351722c65df1 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sat, 22 Jun 2019 08:44:20 -0700 Subject: [PATCH] pcbnew: Ensure save dialog with zones Fixes: lp:1833748 * https://bugs.launchpad.net/kicad/+bug/1833748 --- pcbnew/class_board.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;