summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-31 20:28:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-31 20:28:30 +0300
commit0e6b6b3b145c58cd881aabd0dafa8803a6ba95f7 (patch)
tree0eb6e5ed9be740f392c165f8e8d930f9d638d9ec /protocols/ICQ-WIM
parentf6875290b33d3ca0352bbb2dad4dfc6d6ad48be8 (diff)
fixes #1814 (ICQ10: remove 0 in account's options)
Diffstat (limited to 'protocols/ICQ-WIM')
-rw-r--r--protocols/ICQ-WIM/src/options.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/options.cpp b/protocols/ICQ-WIM/src/options.cpp
index 13307d8d02..f948f64e21 100644
--- a/protocols/ICQ-WIM/src/options.cpp
+++ b/protocols/ICQ-WIM/src/options.cpp
@@ -179,6 +179,13 @@ public:
wszOldPass = ppro->m_szPassword;
}
+ bool OnInitDialog() override
+ {
+ if (m_proto->m_dwUin == 0)
+ edtUin.SetText(L"");
+ return true;
+ }
+
bool OnApply() override
{
if (wszOldPass != ptrW(edtPassword.GetText())) {