mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-28 08:13:17 +03:00
GH-398 Set the icon in the window title bar
This commit is contained in:
parent
ff73dfaa55
commit
ed1368fe51
@ -139,7 +139,7 @@ class Context {
|
||||
.addDisposableTo(self.disposeBag)
|
||||
|
||||
#if DEBUG
|
||||
actionSource.debug().subscribe().addDisposableTo(self.disposeBag)
|
||||
// actionSource.debug().subscribe().addDisposableTo(self.disposeBag)
|
||||
// stateSource
|
||||
// .filter { $0.mainWindows.values.count > 0 }
|
||||
// .map { Array($0.mainWindows.values)[0].preview }
|
||||
|
@ -348,6 +348,7 @@ extension MainWindow {
|
||||
func currentBufferChanged(_ currentBuffer: NeoVimBuffer) {
|
||||
self.emitter.emit(self.uuidAction(for: .setCurrentBuffer(currentBuffer)))
|
||||
self.currentBuffer = currentBuffer
|
||||
self.window.representedURL = self.currentBuffer?.url
|
||||
}
|
||||
|
||||
func tabChanged() {
|
||||
|
Loading…
Reference in New Issue
Block a user