xA/xM: refresh buffer list on dehighlight
This commit is contained in:
parent
9c9776bacd
commit
a62ed5bbac
1
xA/xA.go
1
xA/xA.go
|
@ -1499,6 +1499,7 @@ func main() {
|
||||||
if b := bufferByName(bufferCurrent); b != nil {
|
if b := bufferByName(bufferCurrent); b != nil {
|
||||||
b.highlighted = false
|
b.highlighted = false
|
||||||
refreshIcon()
|
refreshIcon()
|
||||||
|
refreshBufferList()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
a.Lifecycle().SetOnExitedForeground(func() {
|
a.Lifecycle().SetOnExitedForeground(func() {
|
||||||
|
|
|
@ -1203,6 +1203,7 @@ class WindowDelegate: NSObject, NSWindowDelegate {
|
||||||
|
|
||||||
b.highlighted = false
|
b.highlighted = false
|
||||||
refreshIcon()
|
refreshIcon()
|
||||||
|
refreshBufferList()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Buffer indexes rotated to start after the current buffer.
|
// Buffer indexes rotated to start after the current buffer.
|
||||||
|
|
Loading…
Reference in New Issue