From abb9a6c12dffaf8ef23d31b9c9d462607471c9ed Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 29 Jun 2014 17:45:11 -0700 Subject: Globe: don't show the location edit message after aborting plan For some reason the isVisible() check failed, even though the message is, indeed, visible. But it doesn't seem to hurt to unconditionally hide the message, so I'm doing that instead. Fixes #576 Signed-off-by: Dirk Hohndel --- qt-ui/globe.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index c21417990..91d88345b 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -216,8 +216,7 @@ void GlobeGPS::repopulateLabels() void GlobeGPS::reload() { editingDiveLocation = false; - if (messageWidget->isVisible()) - messageWidget->hide(); + messageWidget->hide(); repopulateLabels(); } -- cgit v1.2.3-70-g09d2