pcbnew: Ensure save dialog with zones

Fixes: lp:1833748
* https://bugs.launchpad.net/kicad/+bug/1833748

(cherry picked from commit febc8cd6aa)
This commit is contained in:
Seth Hillbrand 2019-06-22 08:44:20 -07:00
parent c8c318510e
commit 1ece1172c5
1 changed files with 2 additions and 1 deletions

View File

@ -275,7 +275,8 @@ public:
bool IsEmpty() const
{
return m_drawings.empty() && m_modules.empty() && m_tracks.empty();
return m_drawings.empty() && m_modules.empty() && m_tracks.empty() &&
m_ZoneDescriptorList.empty();
}
void Move( const wxPoint& aMoveVector ) override;