1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-16 03:53:01 -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:
Simon Tatham 2000-11-21 19:00:11 +00:00
parent 664de6a1a8
commit 7a3c5f57b5

View File

@ -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) {
/* /*