diff options
-rw-r--r-- | plugins/TabSRMM/src/userprefs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/userprefs.cpp b/plugins/TabSRMM/src/userprefs.cpp index 70ff19332e..3028a91092 100644 --- a/plugins/TabSRMM/src/userprefs.cpp +++ b/plugins/TabSRMM/src/userprefs.cpp @@ -315,6 +315,7 @@ public: m_hContact(hContact),
m_tab(this, IDC_OPTIONSTAB)
{
+ m_tab.SetPageOwner();
}
bool OnInitDialog() override
@@ -326,7 +327,8 @@ public: SetCaption(szBuffer);
m_tab.AddPage(TranslateT("General"), nullptr, new CUserPrefsOptDlg(m_hContact));
- m_tab.AddPage(TranslateT("Message Log"), nullptr, new CUserPrefsLogDlg(m_hContact));
+ if (!Srmm_IsCustomLogUsed())
+ m_tab.AddPage(TranslateT("Message Log"), nullptr, new CUserPrefsLogDlg(m_hContact));
return true;
}
|