Skip to content

Commit

Permalink
Apply setting to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
HashidaTKS committed Jan 14, 2025
1 parent cf3b3dd commit 26b7e94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DlgSetting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2268,6 +2268,7 @@ BOOL CDlgSetFileMgr::OnInitDialog()
SetDlgItemText(IDC_RootPath, theApp.m_AppSettingsDlgCurrent.GetRootPath());
SetDlgItemText(IDC_ExtFilter, theApp.m_AppSettingsDlgCurrent.GetExtFilter());
SetDlgItemText(IDC_DisallowExt, theApp.m_AppSettingsDlgCurrent.GetDisallowExt());
SetDlgItemText(IDC_DisallowTransferringExt, theApp.m_AppSettingsDlgCurrent.GetDisallowTransferringExt());
SetDlgItemText(IDC_TransferPath, theApp.m_AppSettingsDlgCurrent.GetTransferPath());
SetDlgItemText(IDC_TransferSubFolder, theApp.m_AppSettingsDlgCurrent.GetTransferSubFolder());
SetDlgItemText(IDC_UploadPath, theApp.m_AppSettingsDlgCurrent.GetUploadPath());
Expand Down Expand Up @@ -2342,6 +2343,10 @@ LRESULT CDlgSetFileMgr::Set_OK(WPARAM wParam, LPARAM lParam)
GetDlgItemText(IDC_DisallowExt, strValue);
theApp.m_AppSettingsDlgCurrent.SetDisallowExt(strValue);

strValue.Empty();
GetDlgItemText(IDC_DisallowTransferringExt, strValue);
theApp.m_AppSettingsDlgCurrent.SetDisallowTransferringExt(strValue);

strValue.Empty();
GetDlgItemText(IDC_TransferPath, strValue);
theApp.m_AppSettingsDlgCurrent.SetTransferPath(strValue);
Expand Down

0 comments on commit 26b7e94

Please sign in to comment.