Skip to content

Commit 94f2fc4

Browse files
committed
Fix #198
1 parent 522f6fa commit 94f2fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/view/host-view.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class ConfigView extends View
114114
val = undefined if val == "" or view.parent().isHidden() or view.parent().parent().isHidden()
115115
@host[dataName] = val
116116

117-
if @host.transport == "scp" and @userAgentButton.hasClass('selected')
117+
if (@host.transport == undefined or @host.transport == "scp") and @userAgentButton.hasClass('selected')
118118
@host.useAgent = true
119119
else
120120
@host.useAgent = undefined

0 commit comments

Comments
 (0)