Berthold Stoeger cddd5942f8 Undo: update dive list after edit command
The dive list was not updated automatically when an edit command was
executed. There was already a signal to do that, viz. divesChanged().
But that signal worked by-trip and didn't have a dive-field specifier.

The edit-commands used the divesEdited() signal that isn't by-trip
but has a dive-field specifier.

Unify these two signals to be by-trip and with dive-field specifier.
This needs common code to generate the by-trip list that is moved to
a command_private.h header.

Since there might now be multiple signals (one per trip) actually
check in the main-tab whether the current trip is affected to
avoid multiple update of fields. This has the positive(?) effect
of not doing any update if the current dive isn't changed.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-04-12 18:19:07 +03:00
..
2019-04-04 09:33:56 -07:00
2018-07-18 02:09:15 +03:00
2019-04-12 18:19:07 +03:00
2017-04-29 13:32:55 -07:00
2018-08-23 05:16:38 -07:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2019-04-12 18:19:07 +03:00
2018-08-23 05:16:38 -07:00
2019-02-05 14:18:14 +01:00
2019-04-12 12:59:17 +03:00
2019-04-12 12:59:17 +03:00
2017-04-29 13:32:55 -07:00
2019-04-04 09:33:56 -07:00
2019-04-04 09:33:56 -07:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2019-01-16 02:38:30 +01:00