diff options
-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)
|