summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/WhatsApp/src/options.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/options.cpp b/protocols/WhatsApp/src/options.cpp
index 9945da04e5..86cffde83b 100644
--- a/protocols/WhatsApp/src/options.cpp
+++ b/protocols/WhatsApp/src/options.cpp
@@ -30,11 +30,10 @@ public:
CreateLink(edtNick, ppro->m_wszNick);
CreateLink(edtGroup, ppro->m_wszDefaultGroup);
CreateLink(edtDevName, ppro->m_wszDeviceName);
+ CreateLink(chkHideChats, ppro->m_bHideGroupchats);
- if (bFullDlg) {
- CreateLink(chkHideChats, ppro->m_bHideGroupchats);
+ if (bFullDlg)
CreateLink(chkBbcodes, ppro->m_bUseBbcodes);
- }
btnUnregister.OnClick = Callback(this, &COptionsDlg::onClick_Unregister);
}