diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-04 15:06:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-04 15:06:19 +0300 |
commit | f02ba61c1480c33b801aa7f7acefac9e3735c551 (patch) | |
tree | aa44e2ccfa277bb4b877f867d035e7cabded1f83 /plugins/StatusManager/src/confirmdialog.cpp | |
parent | c257e17520118623ef8ae6ec7cf57249b4fd9ba0 (diff) |
StatusManager:
- fixes #1150 (Status Manager no longer reconnects when connection breaks);
- hopefully also fixes #1139 (KeepStatus: option "Reconnect on APM resume" don't work);
- removed major clutch with assigning "" to a protocol name to disable it in the confirmdialog;
- another ancient evil destroyed that tried to save 4 bytes of memory by storing temporary status values in the main status field in AAA;
- version bump
Diffstat (limited to 'plugins/StatusManager/src/confirmdialog.cpp')
-rw-r--r-- | plugins/StatusManager/src/confirmdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/StatusManager/src/confirmdialog.cpp b/plugins/StatusManager/src/confirmdialog.cpp index 5cdcf88237..2c7c386ff7 100644 --- a/plugins/StatusManager/src/confirmdialog.cpp +++ b/plugins/StatusManager/src/confirmdialog.cpp @@ -403,7 +403,8 @@ HWND ShowConfirmDialogEx(TProtoSettings *params, int _timeout) confirmSettings = new OBJLIST<TConfirmSetting>(10, CompareSettings); for (auto &it : *params) - confirmSettings->insert(new TConfirmSetting(*it)); + if (it->m_status != ID_STATUS_DISABLED) + confirmSettings->insert(new TConfirmSetting(*it)); timeOut = _timeout; if (timeOut < 0) |