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:
parent
e92576600b
commit
abb9a6c12d
@ -216,8 +216,7 @@ void GlobeGPS::repopulateLabels()
|
||||
void GlobeGPS::reload()
|
||||
{
|
||||
editingDiveLocation = false;
|
||||
if (messageWidget->isVisible())
|
||||
messageWidget->hide();
|
||||
messageWidget->hide();
|
||||
repopulateLabels();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user