Context menu for images: small fix

Required change within DivePictureItem, adding update
parameter defaulted to true in this case.

Signed-off-by: Guido Lerch <guido.lerch@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Guido Lerch 2015-10-20 21:10:44 +02:00 committed by Dirk Hohndel
parent 951e3d920b
commit 889fa1e4cc

View file

@ -126,5 +126,5 @@ void DivePictureItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
void DivePictureItem::removePicture()
{
DivePictureModel::instance()->removePicture(fileUrl);
DivePictureModel::instance()->removePicture(fileUrl, true);
}