summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-06-04 17:35:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-06-04 17:35:56 +0300
commit932be7eac7944a69a1fe1acadcbcca2743377b3f (patch)
treee51383bd55fe9d6bbd223f1d5955a74867124707 /plugins/Db3x_mmap/src
parentf531ff887729783a7fe7a3e12ad12f658eefc7b0 (diff)
all improper calls of OnClose replaced with OnDestroy / OnApply
Diffstat (limited to 'plugins/Db3x_mmap/src')
-rw-r--r--plugins/Db3x_mmap/src/ui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/ui.h b/plugins/Db3x_mmap/src/ui.h
index 83d7d3dbb4..c52a479bc6 100644
--- a/plugins/Db3x_mmap/src/ui.h
+++ b/plugins/Db3x_mmap/src/ui.h
@@ -7,6 +7,7 @@ class CSelectCryptoDialog : public CDlgBase
CRYPTO_PROVIDER **m_provs;
size_t m_provscount;
CRYPTO_PROVIDER *m_selected;
+
public:
CSelectCryptoDialog(CRYPTO_PROVIDER **provs, size_t count) :
CDlgBase(g_plugin, IDD_SELECT_CRYPTOPROVIDER),
@@ -31,7 +32,7 @@ public:
return true;
}
- bool OnClose() override
+ bool OnApply() override
{
m_selected = m_provs[ m_combo.GetItemData(m_combo.GetCurSel()) ];
return true;