diff options
Diffstat (limited to 'plugins/Popup')
-rw-r--r-- | plugins/Popup/src/main.cpp | 4 | ||||
-rw-r--r-- | plugins/Popup/src/opt_gen.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index eba19300b5..144b7cc9e5 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -164,7 +164,7 @@ INT_PTR svcEnableDisableMenuCommand(WPARAM, LPARAM) //The module is enabled.
//The action to do is "disable popups" (show disabled) and we must write "enable popup" in the new item.
PopupOptions.ModuleIsEnabled = FALSE;
- db_set_b(NULL, MODULNAME, "ModuleIsEnabled", FALSE);
+ db_set_b(NULL, "Popup", "ModuleIsEnabled", FALSE);
mi.ptszName = LPGENT("Enable Popups");
mi.hIcon = IcoLib_GetIcon(ICO_POPUP_OFF,0);
}
@@ -172,7 +172,7 @@ INT_PTR svcEnableDisableMenuCommand(WPARAM, LPARAM) //The module is disabled.
//The action to do is enable popups (show enabled), then write "disable popup" in the new item.
PopupOptions.ModuleIsEnabled = TRUE;
- db_set_b(NULL, MODULNAME, "ModuleIsEnabled", TRUE);
+ db_set_b(NULL, "Popup", "ModuleIsEnabled", TRUE);
mi.ptszName = LPGENT("Disable Popups");
mi.hIcon = IcoLib_GetIcon(ICO_POPUP_ON,0);
}
diff --git a/plugins/Popup/src/opt_gen.cpp b/plugins/Popup/src/opt_gen.cpp index b5e471b5bf..781b009795 100644 --- a/plugins/Popup/src/opt_gen.cpp +++ b/plugins/Popup/src/opt_gen.cpp @@ -121,7 +121,7 @@ void LoadOption_General() PopupOptions.ReorderPopupsWarning = db_get_b(NULL, MODULNAME, "ReorderPopupsWarning", TRUE);
//disable When
- PopupOptions.ModuleIsEnabled = db_get_b(NULL, MODULNAME, "ModuleIsEnabled", TRUE);
+ PopupOptions.ModuleIsEnabled = db_get_b(NULL, "Popup", "ModuleIsEnabled", TRUE);
PopupOptions.DisableWhenFullscreen = db_get_b(NULL, MODULNAME, "DisableWhenFullscreen", TRUE);
}
|