From 055ac2a1a2ec6c684a07d9ca3e170b5496496fd0 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 30 Jul 2014 14:19:34 -0700 Subject: Mark divelist changed after removing a picture Signed-off-by: Dirk Hohndel --- qt-ui/divepicturewidget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/divepicturewidget.cpp') 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 +#include #include #include #include @@ -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 -- cgit v1.2.3-70-g09d2