From c710818c396b0726e76fe0bbd0af75a9d3fac585 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 4 Mar 2016 16:06:44 +0000 Subject: fix for bug #1205 git-svn-id: http://svn.miranda-ng.org/main/trunk@16418 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_opt.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 76a0a8efb7..14227641d5 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -823,8 +823,10 @@ public: void OnApply() { - if (m_proto->m_options.DisableFrame != m_oldFrameValue) - m_proto->InitInfoFrame(); + if (m_proto->m_options.DisableFrame != m_oldFrameValue) { + m_proto->InitInfoFrame(); // create or destroy a frame + m_oldFrameValue = m_proto->m_options.DisableFrame; + } BOOL bChecked = m_proto->m_options.ShowTransport; LISTFOREACH(index, m_proto, LIST_ROSTER) -- cgit v1.2.3