mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
divetripmodel: introduce CURRENT_ROLE
Use this role to test whether a dive is the currently displayed dive. This will be needed to transport changes of the current dive to the mobile list models. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
97e26fd51b
commit
a88ab64cf8
2 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,8 @@ public:
|
|||
DIVE_ROLE,
|
||||
TRIP_ROLE,
|
||||
DIVE_IDX,
|
||||
SELECTED_ROLE
|
||||
SELECTED_ROLE,
|
||||
CURRENT_ROLE
|
||||
};
|
||||
enum Layout {
|
||||
TREE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue