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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-06-29 17:45:11 -07:00
parent e92576600b
commit abb9a6c12d

View file

@ -216,8 +216,7 @@ void GlobeGPS::repopulateLabels()
void GlobeGPS::reload()
{
editingDiveLocation = false;
if (messageWidget->isVisible())
messageWidget->hide();
messageWidget->hide();
repopulateLabels();
}