bindings:go: Only display saved message if actually saved

This commit is contained in:
Camille Scholtz 2016-06-30 16:49:32 +02:00
parent b0ef071e94
commit 151df0d2aa

View file

@ -749,10 +749,10 @@ func (v *View) Save() bool {
messenger.Error(err.Error())
return false
}
messenger.Message("Saved " + v.Buf.Path)
}
messenger.Reset()
messenger.Clear()
messenger.Message("Saved " + v.Buf.Path)
} else {
messenger.Error(err.Error())
}