subsurface/commands
Berthold Stoeger 8581e213ed selection: trickle down trip selection
The trip selection code was an awkward layering violation.
Whereas dive selections due to dive undo-commands trickled
down via DiveTripModel-->MultiFilterSortModel-->DiveListView,
for trip editing, the DiveListView directly intercepted the
TripEdited signal.

Instead, mimic the dive-selection code. This is a bit longer
but more consistent and logical. The undo/redo of trip changes
is now also a "programmatical" change of the selection.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2023-04-16 20:23:59 +02:00
..
CMakeLists.txt undo: add device related undo commands 2020-10-25 13:59:04 -07:00
command.cpp undo: pass divecomputer number to EditProfile command 2023-04-16 20:23:59 +02:00
command.h undo: pass divecomputer number to EditProfile command 2023-04-16 20:23:59 +02:00
command_base.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
command_base.h cleanup: fix deprecated QVector constructor 2020-10-26 19:27:03 -07:00
command_device.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
command_device.h undo/device: adjust device management infrastructure 2021-08-18 13:22:02 -07:00
command_divelist.cpp selection: move current dive and divecomputer to selection.cpp 2023-04-16 20:23:59 +02:00
command_divelist.h selection: move current dive and divecomputer to selection.cpp 2023-04-16 20:23:59 +02:00
command_divesite.cpp core: introduce divelog structure 2023-04-14 21:20:23 +02:00
command_divesite.h mobile: remove GpsLocation 2021-09-13 11:21:34 -07:00
command_edit.cpp undo: pass divecomputer number to EditProfile command 2023-04-16 20:23:59 +02:00
command_edit.h undo: pass divecomputer number to EditProfile command 2023-04-16 20:23:59 +02:00
command_edit_trip.cpp selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
command_edit_trip.h selection: trickle down trip selection 2023-04-16 20:23:59 +02:00
command_event.cpp selection: move current dive and divecomputer to selection.cpp 2023-04-16 20:23:59 +02:00
command_event.h undo: set dive mode to CCR in undo command, not profile code 2021-01-11 09:31:36 -08:00
command_filter.cpp filter: add filter preset undo commands 2020-09-29 16:13:03 -07:00
command_filter.h filter: add filter preset undo commands 2020-09-29 16:13:03 -07:00
command_pictures.cpp undo: fix annoying warning message when deleting pictures 2020-12-19 20:19:51 +01:00
command_pictures.h undo: make adding of pictures undoable 2020-05-06 13:58:09 -07:00