mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop: allow moving dives to arbitrary trips
The UI only allowed adding dives to trips above or below the current dive (and even that is buggy). This is a strange restriction, since trips are designed to be non-contiguous. Allow adding dives to any trip using the new trip selection dialog. The undo-command is already there, so only little code to write. This feature was requested on the mailing list. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f5fe6839c7
commit
7b196a5ef9
3 changed files with 14 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ slots:
|
|||
void mergeDives();
|
||||
void splitDives();
|
||||
void renumberDives();
|
||||
void addDivesToTrip();
|
||||
void shiftTimes();
|
||||
void diveSelectionChanged(const QVector<QModelIndex> &indices);
|
||||
void currentDiveChanged(QModelIndex index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue