summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinopt.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-05-29 08:21:28 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-05-29 08:21:28 +0000
commit2f32448abc6249722f46c25a113b9febe80533cb (patch)
tree9d7449f82dc64d80f39f915e2342cdec1d7d0d9a /plugins/Clist_modern/src/modern_skinopt.cpp
parent142db72b8b10178a262b4508fd8d06249c1ea728 (diff)
remove hidden option
git-svn-id: http://svn.miranda-ng.org/main/trunk@9337 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinopt.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinopt.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/plugins/Clist_modern/src/modern_skinopt.cpp b/plugins/Clist_modern/src/modern_skinopt.cpp
index 5d7f0955e1..85733d4bfd 100644
--- a/plugins/Clist_modern/src/modern_skinopt.cpp
+++ b/plugins/Clist_modern/src/modern_skinopt.cpp
@@ -53,19 +53,17 @@ int SkinOptInit(WPARAM wParam, LPARAM lParam)
odp.position = -200000000;
odp.hInstance = g_hInst;
odp.pfnDlgProc = DlgSkinOpts;
- odp.pszTemplate = MAKEINTRESOURCEA( IDD_OPT_SKIN );
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SKIN);
odp.ptszGroup = LPGENT("Skins");
odp.ptszTitle = LPGENT("Contact list");
odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
odp.ptszTab = LPGENT("Load/Save");
Options_AddPage(wParam, &odp);
- if ( db_get_b( NULL, "ModernData", "EnableSkinEditor", SETTING_ENABLESKINEDITOR_DEFAULT )) {
- odp.pfnDlgProc = DlgSkinEditorOpts;
- odp.pszTemplate = MAKEINTRESOURCEA( IDD_OPT_SKINEDITOR );
- odp.ptszTab = LPGENT("Object editor");
- Options_AddPage(wParam, &odp);
- }
+ odp.pfnDlgProc = DlgSkinEditorOpts;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SKINEDITOR);
+ odp.ptszTab = LPGENT("Object editor");
+ Options_AddPage(wParam, &odp);
}
return 0;
}