diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 6a99ff99e..3b37e4115 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -1349,6 +1349,7 @@ void ProfileWidget2::keyEscAction() void ProfileWidget2::plotPictures() { Q_FOREACH(DivePictureItem *item, pictures){ + item->hide(); item->deleteLater(); } pictures.clear();