From 73d2ab8099ce08ab20f119a126334463ffd41b1e Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Wed, 11 Oct 2017 21:27:06 +0200 Subject: Update diveplannerpoints cylinderidx when deleting a cylinder Signed-off-by: Stefan Fuchs --- qt-models/diveplannermodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-models/diveplannermodel.h') diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h index 43a1186d4..8e853abf8 100644 --- a/qt-models/diveplannermodel.h +++ b/qt-models/diveplannermodel.h @@ -32,6 +32,7 @@ public: virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); virtual Qt::ItemFlags flags(const QModelIndex &index) const; void gaschange(const QModelIndex &index, int newcylinderid); + void cylinderRenumber(int mapping[]); void removeSelectedPoints(const QVector &rows); void setPlanMode(Mode mode); bool isPlanner(); -- cgit v1.2.3-70-g09d2