Set windowTitle in updateUI() method for *InspectorViewControllers
This commit is contained in:
parent
c7aa5656d8
commit
5f095e8966
@ -63,5 +63,6 @@ private extension BuiltinSmartFeedInspectorViewController {
|
||||
func updateUI() {
|
||||
|
||||
nameTextField?.stringValue = smartFeed?.nameForDisplay ?? ""
|
||||
windowTitle = smartFeed?.nameForDisplay ?? NSLocalizedString("Smart Feed Inspector", comment: "Smart Feed Inspector window title")
|
||||
}
|
||||
}
|
||||
|
@ -104,5 +104,6 @@ private extension FolderInspectorViewController {
|
||||
if nameTextField.stringValue != name {
|
||||
nameTextField.stringValue = name
|
||||
}
|
||||
windowTitle = folder?.nameForDisplay ?? NSLocalizedString("Folder Inspector", comment: "Folder Inspector window title")
|
||||
}
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ private extension WebFeedInspectorViewController {
|
||||
updateFeedURL()
|
||||
updateNotifyAboutNewArticles()
|
||||
updateIsReaderViewAlwaysOn()
|
||||
|
||||
windowTitle = feed?.nameForDisplay ?? NSLocalizedString("Feed Inspector", comment: "Feed Inspector window title")
|
||||
view.needsLayout = true
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user