summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/divepicturewidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/divepicturewidget.cpp b/qt-ui/divepicturewidget.cpp
index 76d3e7c65..b1078b42b 100644
--- a/qt-ui/divepicturewidget.cpp
+++ b/qt-ui/divepicturewidget.cpp
@@ -1,5 +1,6 @@
#include "divepicturewidget.h"
#include <dive.h>
+#include <divelist.h>
#include <QtConcurrentMap>
#include <QDir>
#include <QHash>
@@ -102,6 +103,7 @@ void DivePictureModel::removePicture(const QString &fileUrl)
dive_remove_picture(stringPixmapCache[fileUrl].picture);
copy_dive(current_dive, &displayed_dive);
updateDivePictures();
+ mark_divelist_changed(true);
}
int DivePictureModel::rowCount(const QModelIndex &parent) const