Fix load issue when deleting files (#1292)
This commit is contained in:
1 parent
07cf7dd1bd
commit
59f32193ae
1 file changed
-9
@@ -1171,15 +1171,6 @@ func insert(app *app, arg string) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
app.nav.unselect()
|
app.nav.unselect()
|
||||||
if gSingleMode {
|
|
||||||
app.nav.renew()
|
|
||||||
app.ui.loadFile(app, true)
|
|
||||||
} else {
|
|
||||||
if err := remote("send load"); err != nil {
|
|
||||||
app.ui.echoerrf("delete: %s", err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
app.ui.loadFile(app, true)
|
app.ui.loadFile(app, true)
|
||||||
app.ui.loadFileInfo(app.nav)
|
app.ui.loadFileInfo(app.nav)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user