From 0e6b6b3b145c58cd881aabd0dafa8803a6ba95f7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 31 Jan 2019 20:28:30 +0300 Subject: fixes #1814 (ICQ10: remove 0 in account's options) --- protocols/ICQ-WIM/src/options.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'protocols') 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())) { -- cgit v1.2.3