diff options
author | George Hazan <george.hazan@gmail.com> | 2016-03-04 16:06:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-03-04 16:06:44 +0000 |
commit | c710818c396b0726e76fe0bbd0af75a9d3fac585 (patch) | |
tree | 74007905965484d736b40cfc8b83cbda4c0b2127 | |
parent | f415b679d51c5cf3630e865efb66825f14f20e4a (diff) |
fix for bug #1205
git-svn-id: http://svn.miranda-ng.org/main/trunk@16418 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 6 |
1 files 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)
|