fix crash for config shell cmds

cc #759 #778
This commit is contained in:
Gokcehan 2022-03-11 17:12:32 +03:00
parent 089e6dc705
commit fb3c31d3c7

4
nav.go
View File

@ -563,6 +563,10 @@ func (nav *nav) position() {
}
func (nav *nav) exportFiles() {
if (!nav.init) {
return
}
var currFile string
if curr, err := nav.currFile(); err == nil {
currFile = curr.path