mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
823e870765
commit
4371a4a298
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ void GlobeGPS::reload()
|
||||||
|
|
||||||
if (editingDiveCoords) {
|
if (editingDiveCoords) {
|
||||||
editingDiveCoords = 0;
|
editingDiveCoords = 0;
|
||||||
|
if (messageWidget->isVisible())
|
||||||
|
messageWidget->animatedHide();
|
||||||
}
|
}
|
||||||
|
|
||||||
loadedDives = new GeoDataDocument;
|
loadedDives = new GeoDataDocument;
|
||||||
|
|
Loading…
Add table
Reference in a new issue