mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -216,8 +216,7 @@ void GlobeGPS::repopulateLabels()
|
|||
void GlobeGPS::reload()
|
||||
{
|
||||
editingDiveLocation = false;
|
||||
if (messageWidget->isVisible())
|
||||
messageWidget->hide();
|
||||
messageWidget->hide();
|
||||
repopulateLabels();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue