diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-18 14:41:36 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-18 14:41:36 +0300 |
commit | cfd011825f87c396fde3a0d8a13afcd31bd3ef0f (patch) | |
tree | b2f8094d9db63f81c090389751a062a88dc82d08 /plugins/TabSRMM/src | |
parent | ebf3d3a84fb5331df3909b996033aaebbe5af614 (diff) |
fixes #4129 (Страница настроек записи истории чатов в файл)
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/chat_options.cpp | 10 | ||||
-rw-r--r-- | plugins/TabSRMM/src/resource.h | 4 |
2 files changed, 6 insertions, 8 deletions
diff --git a/plugins/TabSRMM/src/chat_options.cpp b/plugins/TabSRMM/src/chat_options.cpp index 26ef4e6dad..4ceec3b968 100644 --- a/plugins/TabSRMM/src/chat_options.cpp +++ b/plugins/TabSRMM/src/chat_options.cpp @@ -570,7 +570,7 @@ class CChatLogOptionDlg : public CChatBaseOptionDlg public:
CChatLogOptionDlg() :
- CChatBaseOptionDlg(IDD_OPTIONS2),
+ CChatBaseOptionDlg(Srmm_IsCustomLogUsed(true) ? IDD_OPTIONS3 : IDD_OPTIONS2),
m_timer(this, 1),
btnBaseDir(this, IDC_MUC_OPENLOGBASEDIR),
chkLogging(this, IDC_LOGGING),
@@ -895,11 +895,9 @@ void Chat_Options(WPARAM wParam) odp.pDialog = new CChatSettingsDlg();
g_plugin.addOptions(wParam, &odp);
- if (!Srmm_IsCustomLogUsed(true)) {
- odp.szTab.a = LPGEN("Log formatting");
- odp.pDialog = new CChatLogOptionDlg();
- g_plugin.addOptions(wParam, &odp);
- }
+ odp.szTab.a = LPGEN("Log formatting");
+ odp.pDialog = new CChatLogOptionDlg();
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("Highlighting");
odp.pDialog = new CHighlighOptionDlg();
diff --git a/plugins/TabSRMM/src/resource.h b/plugins/TabSRMM/src/resource.h index 36d480b7a9..f19e263635 100644 --- a/plugins/TabSRMM/src/resource.h +++ b/plugins/TabSRMM/src/resource.h @@ -1,6 +1,6 @@ //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
-// Used by W:\miranda-ng\plugins\TabSRMM\res\resource.rc
+// Used by W:\miranda-ng\plugins\TabSRMM\res\chat.rc
//
#define VS_VERSION_INFO 1
#define IDD_TEMPLATEEDIT 1
@@ -697,7 +697,7 @@ //
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 108
+#define _APS_NEXT_RESOURCE_VALUE 109
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
|