1
1
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:
Tae Won Ha 2017-04-16 08:58:56 +02:00
parent ff73dfaa55
commit ed1368fe51
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 2 additions and 1 deletions

View File

@ -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 }

View File

@ -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() {