diff options
-rw-r--r-- | plugins/XSoundNotify/src/options.cpp | 4 | ||||
-rw-r--r-- | plugins/XSoundNotify/src/version.h | 4 | ||||
-rw-r--r-- | plugins/XSoundNotify/src/xsn_main.cpp | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/plugins/XSoundNotify/src/options.cpp b/plugins/XSoundNotify/src/options.cpp index bab5567543..31237230fb 100644 --- a/plugins/XSoundNotify/src/options.cpp +++ b/plugins/XSoundNotify/src/options.cpp @@ -178,9 +178,11 @@ public: void onChange_Ignore(CCtrlCheck *)
{
+ if (!m_bInitialized)
+ return;
+
auto *p = ObtainData();
p->bIgnore = chkIgnore.GetState();
- NotifyChange();
}
void onClick_Choose(CCtrlButton *)
diff --git a/plugins/XSoundNotify/src/version.h b/plugins/XSoundNotify/src/version.h index 82b32b0e64..30df378748 100644 --- a/plugins/XSoundNotify/src/version.h +++ b/plugins/XSoundNotify/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 1 -#define __MINOR_VERSION 1 +#define __MINOR_VERSION 2 #define __RELEASE_NUM 0 -#define __BUILD_NUM 4 +#define __BUILD_NUM 1 #include <stdver.h> diff --git a/plugins/XSoundNotify/src/xsn_main.cpp b/plugins/XSoundNotify/src/xsn_main.cpp index 7d74b9e018..90a14f5c9c 100644 --- a/plugins/XSoundNotify/src/xsn_main.cpp +++ b/plugins/XSoundNotify/src/xsn_main.cpp @@ -11,7 +11,7 @@ There is no warranty. CMPlugin g_plugin;
-LIST<XSN_Data> XSN_Users(10, PtrKeySortT);
+LIST<XSN_Data> XSN_Users(10, HandleKeySortT);
HGENMENU hChangeSound = nullptr;
MWindowList hChangeSoundDlgList = nullptr;
BYTE isIgnoreSound = 0, isOwnSound = 0, isIgnoreAccSound = 0, isAccSound = 0;
|