Fix message widget visibility.

Hide message widget when closing dive with no GPS coordinates.

Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Sergey Starosek 2013-05-27 20:43:21 +03:00 committed by Dirk Hohndel
parent 823e870765
commit 4371a4a298

View file

@ -50,6 +50,8 @@ void GlobeGPS::reload()
if (editingDiveCoords) {
editingDiveCoords = 0;
if (messageWidget->isVisible())
messageWidget->animatedHide();
}
loadedDives = new GeoDataDocument;