Skip to content

Commit

Permalink
chore: clear text of user data dir edit control, when click use defau…
Browse files Browse the repository at this point in the history
…lt location
  • Loading branch information
fxliang committed Feb 22, 2024
1 parent c62613b commit 92cb560
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WeaselSetup/InstallOptionsDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ LRESULT InstallOptionsDialog::OnRemove(WORD, WORD code, HWND, BOOL&) {

LRESULT InstallOptionsDialog::OnUseDefaultDir(WORD, WORD code, HWND, BOOL&) {
dir_.EnableWindow(FALSE);
dir_.SetWindowTextW(L"");
button_custom_dir_.EnableWindow(FALSE);
return 0;
}
Expand Down

0 comments on commit 92cb560

Please sign in to comment.