summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/locationinformation.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp
index 5872089a4..9f61459b6 100644
--- a/desktop-widgets/locationinformation.cpp
+++ b/desktop-widgets/locationinformation.cpp
@@ -575,13 +575,8 @@ void DiveLocationLineEdit::setCurrentDiveSite(struct dive *d)
void DiveLocationLineEdit::showPopup()
{
- fixPopupPosition();
- if (!view->isVisible()) {
+ if (!view->isVisible())
setTemporaryDiveSiteName(text());
- proxy->invalidate();
- proxy->sort(LocationInformationModel::NAME);
- view->show();
- }
}
DiveLocationLineEdit::DiveSiteType DiveLocationLineEdit::currDiveSiteType() const