diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2013-05-27 20:43:21 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-29 19:24:20 +0900 |
commit | 4371a4a29859c9419a646cb7ed1182c19f54d7ab (patch) | |
tree | bda13f1893ec8658cce52f153ad298e49130f38b /qt-ui/globe.cpp | |
parent | 823e870765d52b471a0835d5727a26c6bf68b2d3 (diff) | |
download | subsurface-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.cpp | 2 |
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; |