summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgoptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/msgoptions.cpp')
-rw-r--r--plugins/Scriver/src/msgoptions.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp
index 7e6dddeccb..3be675019a 100644
--- a/plugins/Scriver/src/msgoptions.cpp
+++ b/plugins/Scriver/src/msgoptions.cpp
@@ -585,7 +585,7 @@ public:
bool OnInitDialog() override
{
- switch (g_plugin.iHistoryMode) {
+ switch (Srmm::iHistoryMode) {
case LOADHISTORY_UNREAD:
chkLoadUnread.SetState(true);
break;
@@ -617,11 +617,11 @@ public:
bool OnApply() override
{
if (chkLoadCount.GetState())
- g_plugin.iHistoryMode = LOADHISTORY_COUNT;
+ Srmm::iHistoryMode = LOADHISTORY_COUNT;
else if (chkLoadTime.GetState())
- g_plugin.iHistoryMode = LOADHISTORY_TIME;
+ Srmm::iHistoryMode = LOADHISTORY_TIME;
else
- g_plugin.iHistoryMode = LOADHISTORY_UNREAD;
+ Srmm::iHistoryMode = LOADHISTORY_UNREAD;
FreeMsgLogIcons();
LoadMsgLogIcons();