mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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>
This commit is contained in:
parent
ebc3b148db
commit
83b14629d8
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,6 @@ void LocationInformationWidget::updateGpsCoordinates()
|
||||||
|
|
||||||
void LocationInformationWidget::acceptChanges()
|
void LocationInformationWidget::acceptChanges()
|
||||||
{
|
{
|
||||||
emit stopFilterDiveSite();
|
|
||||||
char *uiString;
|
char *uiString;
|
||||||
struct dive_site *currentDs;
|
struct dive_site *currentDs;
|
||||||
uiString = ui.diveSiteName->text().toUtf8().data();
|
uiString = ui.diveSiteName->text().toUtf8().data();
|
||||||
|
@ -162,6 +161,7 @@ void LocationInformationWidget::acceptChanges()
|
||||||
resetState();
|
resetState();
|
||||||
emit endRequestCoordinates();
|
emit endRequestCoordinates();
|
||||||
emit endEditDiveSite();
|
emit endEditDiveSite();
|
||||||
|
emit stopFilterDiveSite();
|
||||||
emit coordinatesChanged();
|
emit coordinatesChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue