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 authored and lotem committed Feb 24, 2024
1 parent 9260027 commit ec839bc
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 ec839bc

Please sign in to comment.