subsurface/desktop-widgets
Berthold Stoeger 02e94de062 Desktop: enable clearing of dive site
Clearing dive site did not work for two reasons:
1) We didn't get a signal when editing was finished.
2) When clearing the dive site, the "add new dive site" site was set.

Thus, connect to the editingFinished signal and in
DiveLocationLineEdit::currDiveSite() return a null pointer if
the string is empty.

This means that it is not possible to have a dive site with an
empty string, but that shouldn't be a problem, right?

Fixes #2148

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-07-04 10:41:09 +09:00
..
2015-10-30 10:36:49 -07: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-06-03 19:55:19 +02:00
2018-12-14 01:05:18 +08:00
2019-05-15 07:42:14 -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
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2015-10-30 10:36:49 -07:00
2017-03-06 06:40:00 -08:00
2017-11-30 23:14:46 -08:00