summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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())) {