mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-06 07:00:24 +09:00
actions: SaveAs: Print the error of os.Stat() to the InfoBar
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user