load file info after init (#994)
* load fileinfo after init * do not overwrite error message if present
This commit is contained in:
1 parent
9bb2487b14
commit
459608e096
1 file changed
+3
@@ -414,6 +414,9 @@ func (app *app) loop() {
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
if d.path == app.nav.currDir().path {
|
if d.path == app.nav.currDir().path {
|
||||||
app.ui.loadFile(app, true)
|
app.ui.loadFile(app, true)
|
||||||
|
if app.ui.msg == "" {
|
||||||
|
app.ui.loadFileInfo(app.nav)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if d.path == curr.path {
|
if d.path == curr.path {
|
||||||
app.ui.dirPrev = d
|
app.ui.dirPrev = d
|
||||||
|
|||||||
Reference in new issue
Block a user