mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-10 09:31:00 +00:00
Removing the use of SetName() for file buffers
This commit is contained in:
parent
c9f12206e9
commit
9003243178
1 changed files with 0 additions and 2 deletions
|
|
@ -1042,7 +1042,6 @@ func (h *BufPane) saveBufToFile(filename string, action string, callback func())
|
|||
if err != nil {
|
||||
InfoBar.Error(err)
|
||||
} else {
|
||||
h.Buf.SetName(filename)
|
||||
InfoBar.Message("Saved " + filename)
|
||||
if callback != nil {
|
||||
callback()
|
||||
|
|
@ -1067,7 +1066,6 @@ func (h *BufPane) saveBufToFile(filename string, action string, callback func())
|
|||
InfoBar.Error(err)
|
||||
}
|
||||
} else {
|
||||
h.Buf.SetName(filename)
|
||||
InfoBar.Message("Saved " + filename)
|
||||
if callback != nil {
|
||||
callback()
|
||||
|
|
|
|||
Loading…
Reference in a new issue