mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 12:03:03 -05:00
Patch from Robert de Bath: blank the saved-session name edit box
when loading `Default Settings'. [originally from svn r806]
This commit is contained in:
parent
664de6a1a8
commit
7a3c5f57b5
2
windlg.c
2
windlg.c
@ -1164,6 +1164,8 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg,
|
|||||||
init_dlg_ctrls(hwnd);
|
init_dlg_ctrls(hwnd);
|
||||||
if (!isdef)
|
if (!isdef)
|
||||||
SetDlgItemText(hwnd, IDC_SESSEDIT, sessions[n]);
|
SetDlgItemText(hwnd, IDC_SESSEDIT, sessions[n]);
|
||||||
|
else
|
||||||
|
SetDlgItemText(hwnd, IDC_SESSEDIT, "");
|
||||||
}
|
}
|
||||||
if (LOWORD(wParam) == IDC_SESSLIST) {
|
if (LOWORD(wParam) == IDC_SESSLIST) {
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user