summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-18 15:19:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-18 15:19:45 +0300
commitf4d2bc200b670221a1bfa8c818cc86c56d51ec64 (patch)
treee9040319366d1f9af7966cdbf031ed098bd9a8af /plugins/Scriver/src
parent1f323f02b48b595e9a27ba78d91cfcf40873b143 (diff)
fixes #2697 (Scriver: падение при попытке зайти в настройки)
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r--plugins/Scriver/src/msgoptions.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp
index 6193b1a9d0..09c66ce93d 100644
--- a/plugins/Scriver/src/msgoptions.cpp
+++ b/plugins/Scriver/src/msgoptions.cpp
@@ -271,9 +271,7 @@ public:
CreateLink(chkStayMinimized, g_plugin.bStayMinimized);
CreateLink(chkSavePerContact, g_plugin.bSavePerContact);
- chkCascade.OnChange = Callback(this, &CMainOptionsDlg::onChange_Cascade);
chkAutoPopup.OnChange = Callback(this, &CMainOptionsDlg::onChange_AutoPopup);
- chkSavePerContact.OnChange = Callback(this, &CMainOptionsDlg::onChange_SavePerContact);
}
bool OnInitDialog() override
@@ -303,16 +301,6 @@ public:
m_tree.Enable(bChecked);
EnableWindow(GetDlgItem(m_hwnd, IDC_STAYMINIMIZED), bChecked);
}
-
- void onChange_Cascade(CCtrlCheck*)
- {
- chkSavePerContact.SetState(!chkCascade.GetState());
- }
-
- void onChange_SavePerContact(CCtrlCheck*)
- {
- chkCascade.SetState(!chkSavePerContact.GetState());
- }
};
/////////////////////////////////////////////////////////////////////////////////////////