Ensure window title updates when feed/folder name is changed

This commit is contained in:
Angelo Stavrow 2020-09-07 14:36:12 -04:00
parent 5f095e8966
commit 09853a51da
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE
2 changed files with 4 additions and 1 deletions

View File

@ -111,7 +111,9 @@ private extension InspectorWindowController {
return
}
window.title = inspector.windowTitle
DispatchQueue.main.async {
window.title = inspector.windowTitle
}
let flippedOrigin = window.flippedOrigin

View File

@ -113,6 +113,7 @@ extension WebFeedInspectorViewController: NSTextFieldDelegate {
return
}
feed.editedName = nameTextField.stringValue
windowTitle = feed.editedName ?? NSLocalizedString("Feed Inspector", comment: "Feed Inspector window title")
}
}