diff options
Diffstat (limited to 'plugins/IEHistory')
-rw-r--r-- | plugins/IEHistory/src/dlgHandlers.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/IEHistory/src/dlgHandlers.cpp b/plugins/IEHistory/src/dlgHandlers.cpp index 6c23d19653..fbd1ca7583 100644 --- a/plugins/IEHistory/src/dlgHandlers.cpp +++ b/plugins/IEHistory/src/dlgHandlers.cpp @@ -612,6 +612,8 @@ public: chkLoadNumber(this, IDC_LOAD_NUMBER),
chkLastFirst(this, IDC_SHOW_LAST_FIRST)
{
+ chkLoadAll.OnChange = chkLoadNumber.OnChange = Callback(this, &COptionsDlg::onChange_All);
+
CreateLink(edtCount, g_plugin.iLoadCount);
CreateLink(chkRtl, g_plugin.bEnableRtl);
CreateLink(chkLoadBack, g_plugin.bUseWorker);
@@ -620,9 +622,9 @@ public: bool OnInitDialog() override
{
- onChange_All(0);
chkLoadAll.SetState(g_plugin.iLoadCount == 0);
chkLoadNumber.SetState(!chkLoadAll.GetState());
+ onChange_All(0);
return true;
}
|