1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 09:12:24 +00:00

When the SSH panel disappears in puttytel, the Tunnels panel should too!

[originally from svn r890]
This commit is contained in:
Simon Tatham 2001-01-23 14:20:04 +00:00
parent 1eb0308ad7
commit d58d2cc2bb

View File

@ -1092,9 +1092,10 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg,
if (dlgtype == 0) {
treeview_insert(&tvfaff, 1, "Telnet");
treeview_insert(&tvfaff, 1, "Rlogin");
if (backends[3].backend != NULL)
if (backends[3].backend != NULL) {
treeview_insert(&tvfaff, 1, "SSH");
treeview_insert(&tvfaff, 2, "Tunnels");
treeview_insert(&tvfaff, 2, "Tunnels");
}
}
/*