summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.cpp
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2013-05-27 20:43:21 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-29 19:24:20 +0900
commit4371a4a29859c9419a646cb7ed1182c19f54d7ab (patch)
treebda13f1893ec8658cce52f153ad298e49130f38b /qt-ui/globe.cpp
parent823e870765d52b471a0835d5727a26c6bf68b2d3 (diff)
downloadsubsurface-4371a4a29859c9419a646cb7ed1182c19f54d7ab.tar.gz
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>
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r--qt-ui/globe.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index 565d2867f..c1abd082f 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -50,6 +50,8 @@ void GlobeGPS::reload()
if (editingDiveCoords) {
editingDiveCoords = 0;
+ if (messageWidget->isVisible())
+ messageWidget->animatedHide();
}
loadedDives = new GeoDataDocument;