mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
selection: add selection flag for trips
In analogy to dives add a selection flag for trips. The reason being that search for a selected trip can be painfully slow when we do it through Qt's proxy model. Make sure to deselect trips when they are removed from the core. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
649b2f2a9e
commit
09b7fcbcf4
4 changed files with 36 additions and 3 deletions
|
|
@ -17,6 +17,7 @@ typedef struct dive_trip
|
|||
/* Used by the io-routines to mark trips that have already been written. */
|
||||
bool saved;
|
||||
bool autogen;
|
||||
bool selected;
|
||||
} dive_trip_t;
|
||||
|
||||
typedef struct trip_table {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue