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
@ -50,6 +50,8 @@ void GlobeGPS::reload()
|
||||
|
||||
if (editingDiveCoords) {
|
||||
editingDiveCoords = 0;
|
||||
if (messageWidget->isVisible())
|
||||
messageWidget->animatedHide();
|
||||
}
|
||||
|
||||
loadedDives = new GeoDataDocument;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user