summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-09-24 13:38:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-09-24 13:38:57 +0300
commitc90ab3b74a14b752fa9f1783a149490ad6fc0a1a (patch)
tree68ae41cd7598cd62624fae08a4653e1452863c61 /plugins/TabSRMM
parent355c813420090d59be0e098b29f2351c42e1d4ad (diff)
fixes #3194 (tabSRMM: ger rid of inverted logic)
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/msgdlgother.cpp5
-rw-r--r--plugins/TabSRMM/src/msgoptions.cpp2
2 files changed, 2 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp
index 87725bbc14..65e2189083 100644
--- a/plugins/TabSRMM/src/msgdlgother.cpp
+++ b/plugins/TabSRMM/src/msgdlgother.cpp
@@ -1544,10 +1544,7 @@ int CMsgDialog::MsgWindowMenuHandler(int selection, int menuId)
void CMsgDialog::NotifyDeliveryFailure() const
{
- if (M.GetByte("adv_noErrorPopups", 0))
- return;
-
- if (!Popup_Enabled())
+ if (!M.GetByte("adv_ErrorPopups", 1) || !Popup_Enabled())
return;
POPUPDATAW ppd = {};
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp
index 17264791da..9ba3a141b1 100644
--- a/plugins/TabSRMM/src/msgoptions.cpp
+++ b/plugins/TabSRMM/src/msgoptions.cpp
@@ -1346,7 +1346,7 @@ TOptionListItem lvItemsModPlus[] =
{ 0, LPGENW("Show client description in info panel"), 1, LOI_TYPE_SETTING, (UINT_PTR)"ShowClientDescription", 0 },
{ 0, LPGENW("On tab control"), 1, LOI_TYPE_SETTING, (UINT_PTR)"MetaiconTab", 1 },
{ 0, LPGENW("On the button bar"), 0, LOI_TYPE_SETTING, (UINT_PTR)"MetaiconBar", 1 },
- { 0, LPGENW("Disable error popups on sending failures"), 0, LOI_TYPE_SETTING, (UINT_PTR)"adv_noErrorPopups", 2 },
+ { 0, LPGENW("Enable error popups on sending failures"), 1, LOI_TYPE_SETTING, (UINT_PTR)"adv_ErrorPopups", 2 },
{ 0, nullptr, 0, 0, 0, 0 }
};