diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-09-30 19:11:16 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-30 19:11:16 -0400 |
commit | 83b14629d88038b6e2ac2fbb1d9cfe66fe1da7b9 (patch) | |
tree | dfde45876ac5c5c2c017a656565015c7e2046749 /qt-ui/locationinformation.cpp | |
parent | ebc3b148dbb57d8da77cfa93e22d77fffc2b9ea1 (diff) | |
download | subsurface-83b14629d88038b6e2ac2fbb1d9cfe66fe1da7b9.tar.gz |
Don't emit the filter end signal too soon
First make sure all the data in displayed dive is correctly recorded,
otherwise things could get overwritten when the filter is removed and we
redisplay the current dive.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r-- | qt-ui/locationinformation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index ea735752a..6fb2cdbe8 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -121,7 +121,6 @@ void LocationInformationWidget::updateGpsCoordinates() void LocationInformationWidget::acceptChanges() { - emit stopFilterDiveSite(); char *uiString; struct dive_site *currentDs; uiString = ui.diveSiteName->text().toUtf8().data(); @@ -162,6 +161,7 @@ void LocationInformationWidget::acceptChanges() resetState(); emit endRequestCoordinates(); emit endEditDiveSite(); + emit stopFilterDiveSite(); emit coordinatesChanged(); } |