Berthold Stoeger
8e1f736d2b
Undo: make dive site removal undoable
...
Create a new undo-command for deleting dive sites. If there are dives
associated with that site, the dives will be removed. The frontend
is not yet updated in such a case, as that infrastructure is in a
different PR.
Connect the trashcan icon of the dive site table to the undo command.
Currently, this code is in the dive site model, which makes little
sense, but is how the TableView class works. We might want to change
that when cylinder and weight editing are made undoable.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-04-12 18:19:07 +03:00
..
2015-10-30 10:36:49 -07:00
2019-04-12 12:59:17 +03:00
2018-09-29 15:23:25 -07:00
2019-04-12 18:19:07 +03:00
2019-01-02 09:45:01 -08:00
2017-04-29 13:32:55 -07:00
2017-11-30 23:14:46 -08:00
2019-02-14 09:05:58 -08:00
2018-09-30 08:09:37 -07:00
2019-02-14 09:05:58 -08:00
2019-04-12 18:19:07 +03:00
2018-10-11 16:22:27 -07:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2018-08-28 12:03:03 -07:00
2018-09-29 15:23:25 -07:00
2018-04-27 21:33:47 +03:00
2019-02-07 16:06:43 +01:00
2018-06-17 06:53:13 +09:00
2018-06-17 06:53:13 +09:00
2017-11-30 23:14:46 -08:00
2019-04-12 12:59:17 +03:00
2019-01-07 09:33:52 -08:00
2019-04-12 18:19:07 +03:00
2019-02-07 16:06:43 +01:00
2019-04-04 09:33:56 -07:00
2019-04-12 18:19:07 +03:00
2018-10-04 10:22:11 +02:00
2017-11-30 23:14:46 -08:00
2018-07-18 09:06:37 -07:00
2018-09-29 15:23:25 -07:00
2019-03-29 06:51:12 -07:00
2019-01-13 15:02:07 -08:00
2018-03-02 08:38:22 -08:00
2018-08-29 03:09:10 -07:00
2017-05-27 11:07:20 -07:00
2015-10-30 10:36:49 -07:00
2019-04-12 18:19:07 +03:00
2019-03-18 09:06:32 -07:00
2018-09-23 11:49:30 -07:00
2019-04-11 11:17:56 +03:00
2019-02-19 12:02:58 -08:00
2019-02-28 15:45:42 -08:00
2019-03-18 19:40:32 -07:00
2018-07-04 02:27:36 +08:00
2018-07-15 09:38:12 -07:00
2018-01-10 16:45:42 +01:00
2018-09-29 15:23:25 -07:00
2017-04-29 13:32:55 -07:00
2018-09-29 15:23:25 -07:00
2018-12-14 01:05:18 +08:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2019-02-02 19:36:11 +02:00
2019-04-12 18:19:07 +03:00
2019-02-11 12:29:07 -08:00
2019-02-19 12:02:58 -08:00
2019-04-02 07:34:46 -07:00
2018-10-29 00:09:31 +00:00
2019-04-12 18:19:07 +03:00
2018-09-29 15:23:25 -07:00
2018-01-31 14:47:26 +01:00
2018-01-31 14:47:26 +01:00
2017-02-24 01:06:09 -08:00
2019-03-29 06:51:12 -07:00
2018-12-14 01:05:18 +08:00
2018-07-31 11:02:34 +02:00
2019-04-12 12:59:17 +03:00
2019-03-20 08:45:02 -07:00
2019-04-12 12:59:17 +03:00
2019-04-02 07:34:46 -07:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2018-07-15 09:38:12 -07:00
2017-11-30 23:14:46 -08:00
2019-04-12 18:19:07 +03:00
2018-12-14 01:05:18 +08:00
2018-07-30 12:20:26 -07:00
2018-09-29 15:23:25 -07:00
2019-04-12 18:19:07 +03:00
2018-09-29 15:16:11 -07:00
2017-11-30 23:14:46 -08:00
2018-09-29 15:23:25 -07:00
2015-10-30 10:36:49 -07:00
2019-04-12 12:59:17 +03:00
2017-04-29 13:32:55 -07:00
2018-11-19 13:51:03 -08:00
2017-04-29 13:32:55 -07:00
2017-03-12 09:19:03 -07:00
2019-04-12 12:59:17 +03:00
2018-07-04 05:33:31 +08:00
2019-02-09 10:37:55 -08:00
2017-04-29 13:32:55 -07:00
2018-07-15 09:38:12 -07:00
2019-04-12 12:59:17 +03:00
2019-03-20 08:45:02 -07:00
2018-08-29 03:09:10 -07:00
2017-04-29 13:32:55 -07:00
2017-03-06 06:40:00 -08:00
2017-11-30 23:14:46 -08:00