summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/ui.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-15 13:34:49 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-15 13:34:49 +0300
commitd8443a79d7c7bda64283da0337a04d8aed634dcf (patch)
tree0651c3293571673b2eabfed816384cfdaa9f8d30 /plugins/Dbx_mdbx/src/ui.h
parent3868296f242d7595347e99beb9c239279de4bfff (diff)
fixes #1230 (Database encryption mode)
Diffstat (limited to 'plugins/Dbx_mdbx/src/ui.h')
-rw-r--r--plugins/Dbx_mdbx/src/ui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Dbx_mdbx/src/ui.h b/plugins/Dbx_mdbx/src/ui.h
index cfaf03b417..dc1a87c2e9 100644
--- a/plugins/Dbx_mdbx/src/ui.h
+++ b/plugins/Dbx_mdbx/src/ui.h
@@ -26,7 +26,9 @@ class COptionsDialog : public CDlgBase
void OnApply()
{
+ SetCursor(LoadCursor(nullptr, IDC_WAIT));
m_db->EnableEncryption(m_chkTotal.GetState() != 0);
+ SetCursor(LoadCursor(nullptr, IDC_ARROW));
m_chkStandart.SetState(!m_db->isEncrypted());
m_chkTotal.SetState(m_db->isEncrypted());
}