diff options
author | George Hazan <ghazan@miranda.im> | 2022-06-02 15:53:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-06-02 15:53:49 +0300 |
commit | 99a1a69b17e59792ef48d4af928e23bbdb14194b (patch) | |
tree | e1c8f1ca635bbf24376566ff518d51d4770eb448 /plugins/Scriver | |
parent | 176f6ee95bb25d2d2aa99f553605af4870d27751 (diff) |
fixes #3083 (Scriver: окно сообщений закрывается при открытии настроек)
Diffstat (limited to 'plugins/Scriver')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 4 | ||||
-rw-r--r-- | plugins/Scriver/src/version.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 30632696d1..fbf8f9e8e0 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -510,7 +510,9 @@ static int OnModulesLoaded(WPARAM, LPARAM) int OnSystemPreshutdown(WPARAM, LPARAM)
{
- Srmm_Broadcast(WM_CLOSE, 0, 0);
+ for (auto &it : g_arDialogs.rev_iter())
+ it->CloseTab();
+
WindowList_Broadcast(g_dat.hParentWindowList, WM_CLOSE, 0, 0);
return 0;
}
diff --git a/plugins/Scriver/src/version.h b/plugins/Scriver/src/version.h index bfa78609ad..ed7a100c0a 100644 --- a/plugins/Scriver/src/version.h +++ b/plugins/Scriver/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 3 #define __MINOR_VERSION 0 #define __RELEASE_NUM 2 -#define __BUILD_NUM 2 +#define __BUILD_NUM 3 #include <stdver.h> |