Warn if Dive Mode / Cylinders are Changed to an Incorrect Configuration.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2025-01-22 14:00:28 +13:00 committed by Subsurface CI
parent 55a8b9089f
commit b5f823c85a
4 changed files with 35 additions and 7 deletions

View file

@ -54,6 +54,8 @@ slots:
void shiftTimes();
void divesSelectedSlot(const QVector<QModelIndex> &indices, QModelIndex currentDive, int currentDC);
void tripSelected(QModelIndex trip, QModelIndex currentDive);
void divesChanged(const QVector<dive *> &dives, DiveField field);
void cylinderEdited(dive *dive, int);
private:
void rowsInserted(const QModelIndex &parent, int start, int end) override;
void reset() override;