aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tst_qPrefGeocoding.qml
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-06-30 23:08:02 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-07-04 10:41:09 +0900
commit02e94de062dc2c776ee37e8f642f0ec0ae8ad9e7 (patch)
treea52aa1336790a6124db9fba35664385ecc8f46f2 /tests/tst_qPrefGeocoding.qml
parentf451f7d9a5155be6ea1225a7414e5665656f8b42 (diff)
downloadsubsurface-02e94de062dc2c776ee37e8f642f0ec0ae8ad9e7.tar.gz
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>
Diffstat (limited to 'tests/tst_qPrefGeocoding.qml')
0 files changed, 0 insertions, 0 deletions