summaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r--qt-models/divetripmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h
index d0e473f7a..64f89bd8d 100644
--- a/qt-models/divetripmodel.h
+++ b/qt-models/divetripmodel.h
@@ -50,7 +50,8 @@ public:
TRIP_ROLE,
DIVE_IDX,
SELECTED_ROLE,
- CURRENT_ROLE
+ CURRENT_ROLE,
+ TRIP_HAS_CURRENT_ROLE // Returns true if this is a trip and it contains the current dive
};
enum Layout {
TREE,