1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 23:36:08 +03:00

GH-436 Turn off also the proxy icon

This commit is contained in:
Tae Won Ha 2017-06-30 17:49:51 +02:00
parent 5c645a76d6
commit 46b58bbe3a
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -251,6 +251,9 @@ class MainWindow: NSObject,
self.usesTheme = state.appearance.usesTheme self.usesTheme = state.appearance.usesTheme
self.currentBuffer = state.currentBuffer
self.window.representedURL = state.appearance.showsFileIcon ? self.currentBuffer?.url : nil
if self.defaultFont != state.appearance.font if self.defaultFont != state.appearance.font
|| self.linespacing != state.appearance.linespacing || self.linespacing != state.appearance.linespacing
|| self.usesLigatures != state.appearance.usesLigatures { || self.usesLigatures != state.appearance.usesLigatures {
@ -439,8 +442,6 @@ extension MainWindow {
func currentBufferChanged(_ currentBuffer: NeoVimBuffer) { func currentBufferChanged(_ currentBuffer: NeoVimBuffer) {
self.emit(self.uuidAction(for: .setCurrentBuffer(currentBuffer))) self.emit(self.uuidAction(for: .setCurrentBuffer(currentBuffer)))
self.currentBuffer = currentBuffer
self.window.representedURL = self.currentBuffer?.url
} }
func tabChanged() { func tabChanged() {