aboutsummaryrefslogtreecommitdiffstats
path: root/src/e_keys.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/e_keys.go')
-rw-r--r--src/e_keys.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/e_keys.go b/src/e_keys.go
index d46df05..56164e0 100644
--- a/src/e_keys.go
+++ b/src/e_keys.go
@@ -656,6 +656,7 @@ func e_insert_events(data *HardData, ui *HardUI, event tcell.EventKey) bool {
data.insert.parent = parent
data.insert.filename = filename
data.insert.Protocol = int8(event.Rune() - 48 - 1)
+ data.litems.curr.Host.Protocol = data.insert.Protocol
ui.insert_sel_ok = false
ui.s.HideCursor()
e_set_protocol_defaults(data, data.insert)