diff options
Diffstat (limited to 'protocols/GmailNotifier/src/options.cpp')
-rw-r--r-- | protocols/GmailNotifier/src/options.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/protocols/GmailNotifier/src/options.cpp b/protocols/GmailNotifier/src/options.cpp index b8b9a5955b..ee40329809 100644 --- a/protocols/GmailNotifier/src/options.cpp +++ b/protocols/GmailNotifier/src/options.cpp @@ -64,7 +64,7 @@ public: bool OnInitDialog() override { - optionWindowIsOpen = TRUE; + g_bOptionWindowIsOpen = true; BuildList(); for (auto &it : g_accs) @@ -142,6 +142,11 @@ public: return true; } + void OnDestroy() override + { + g_bOptionWindowIsOpen = false; + } + void onChange_Proxy(CCtrlCheck *) { int ShowControl = IsDlgButtonChecked(m_hwnd, IDC_STARTPRG) ? SW_SHOW : SW_HIDE; |