aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r--profile-widget/profilewidget2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index a9d78f5ee..20897b674 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -1123,6 +1123,8 @@ void ProfileWidget2::setEmptyState()
heartBeatAxis->setVisible(false);
heartBeatItem->setVisible(false);
#endif
+ for (AbstractProfilePolygonItem *item: profileItems)
+ item->clear();
#ifndef SUBSURFACE_MOBILE
hideAll(allTissues);