Skip to content

Commit 59f3219

Browse files
authored
Fix load issue when deleting files (#1292)
1 parent 07cf7dd commit 59f3219

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

eval.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,15 +1171,6 @@ func insert(app *app, arg string) {
11711171
return
11721172
}
11731173
app.nav.unselect()
1174-
if gSingleMode {
1175-
app.nav.renew()
1176-
app.ui.loadFile(app, true)
1177-
} else {
1178-
if err := remote("send load"); err != nil {
1179-
app.ui.echoerrf("delete: %s", err)
1180-
return
1181-
}
1182-
}
11831174
app.ui.loadFile(app, true)
11841175
app.ui.loadFileInfo(app.nav)
11851176
}

0 commit comments

Comments
 (0)