summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/logindialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index 14c662a0d..17ab4ad7c 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -207,6 +207,11 @@ void LoginDialog::postInit()
LoginDialog::~LoginDialog()
{
+ if (mUpdateTypeDropDown)
+ mUpdateTypeDropDown->hideDrop(false);
+ if (mUpdateHostDropDown)
+ mUpdateHostDropDown->hideDrop(false);
+
delete2(mUpdateTypeModel);
delete2(mUpdateListModel);
}