subsurface/desktop-widgets/tab-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
..
maintab.cpp Desktop: enable clearing of dive site 2019-07-04 10:41:09 +09:00
maintab.h Undo: don't send signals batched by trip 2019-06-23 20:08:46 +02:00
maintab.ui Undo: show warning message if more than one dive edited 2019-06-15 11:20:49 -07:00
TabBase.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabBase.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveEquipment.cpp Desktop: invalidate dive cache on equipment edit 2019-06-07 04:51:04 +03:00
TabDiveEquipment.h Cleanup: Move dive-equipment tab into own translation units 2019-04-15 10:30:04 +12:00
TabDiveEquipment.ui Cleanup: Move dive-equipment tab into own translation units 2019-04-15 10:30:04 +12:00
TabDiveExtraInfo.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
TabDiveExtraInfo.ui Cleanup: Move dive-equipment tab into own translation units 2019-04-15 10:30:04 +12:00
TabDiveInformation.cpp Undo: don't send signals batched by trip 2019-06-23 20:08:46 +02:00
TabDiveInformation.h Undo: don't send signals batched by trip 2019-06-23 20:08:46 +02:00
TabDiveInformation.ui Convert the atmospheric pressure in the Information Tab to an editable field 2019-05-15 07:37:14 -07:00
TabDivePhotos.cpp Write dive data as video subtitles 2019-04-16 20:38:19 +02:00
TabDivePhotos.h Write dive data as video subtitles 2019-04-16 20:38:19 +02:00
TabDivePhotos.ui Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDiveSite.cpp Filter: add reference counting for dive-site mode 2019-05-11 12:06:19 -07:00
TabDiveSite.h Filter: add reference counting for dive-site mode 2019-05-11 12:06:19 -07:00
TabDiveSite.ui Dive sites: add fulltext filter 2019-04-12 18:19:07 +03:00
TabDiveStatistics.cpp optimize selectedDivesGasUsed() 2019-04-12 12:59:17 +03:00
TabDiveStatistics.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
TabDiveStatistics.ui Show average max depth in statistics tab 2018-12-17 12:18:26 +01:00