mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-26 19:00:25 +00:00
actions: SaveAs: Print the error of os.Stat() to the InfoBar
This commit is contained in:
parent
272a308275
commit
5c21241fc4
1 changed files with 3 additions and 0 deletions
|
|
@ -1003,6 +1003,9 @@ func (h *BufPane) SaveAsCB(action string, callback func()) bool {
|
|||
h.completeAction(action)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
InfoBar.Error(err)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
InfoBar.YNPrompt(
|
||||
|
|
|
|||
Loading…
Reference in a new issue