summaryrefslogtreecommitdiff
path: root/src/modules/options/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/options.cpp')
-rw-r--r--src/modules/options/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp
index e7fd848af1..7c49a8c973 100644
--- a/src/modules/options/options.cpp
+++ b/src/modules/options/options.cpp
@@ -41,6 +41,8 @@ static int FilterPage = 0;
static int FilterLoadProgress = 100;
static int FilterTimerId = 0;
+extern bool bOldMode;
+
struct OptionsPageInit
{
int pageCount;
@@ -1394,6 +1396,8 @@ static int OptModulesLoaded(WPARAM, LPARAM)
mi.pszName = LPGEN("&Options...");
mi.pszService = "Options/OptionsCommand";
Menu_AddMainMenuItem(&mi);
+
+ bOldMode = db_get_b(NULL, "Options", "OldPluginSettings", false) != 0;
return 0;
}