diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-14 23:14:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-14 23:14:39 +0300 |
commit | f7637a968024c69590ffbf6cbde3d8de06aebf7f (patch) | |
tree | 8878a71ed25618a0f11443c1151ca9957f0ee5b6 /src | |
parent | ebb839206d2e8e482718af64ada4dafb3bc82556 (diff) | |
download | manaverse-f7637a968024c69590ffbf6cbde3d8de06aebf7f.tar.gz manaverse-f7637a968024c69590ffbf6cbde3d8de06aebf7f.tar.bz2 manaverse-f7637a968024c69590ffbf6cbde3d8de06aebf7f.tar.xz manaverse-f7637a968024c69590ffbf6cbde3d8de06aebf7f.zip |
Fix crash in login dialog if close it with opened drop down list.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/logindialog.cpp | 5 |
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); } |