PrefUI & PrefWindow // Attach build number to the window title.

This commit is contained in:
ShikiSuen 2023-07-03 22:31:20 +08:00
parent cba27d10c2
commit 20bddbc0cb
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class CtlPrefUI: NSWindowController, NSWindowDelegate {
window?.toolbarStyle = .preference
}
window?.toolbar = toolbar
window?.title = preferencesTitleName
window?.title = "\(preferencesTitleName) (\(IMEApp.appVersionLabel))"
window?.titlebarAppearsTransparent = false
use(view: Self.vwrGeneral, animate: false)
}

View File

@ -107,7 +107,7 @@ class CtlPrefWindow: NSWindowController, NSWindowDelegate {
window?.toolbarStyle = .preference
}
window?.toolbar = toolbar
window?.title = preferencesTitleName
window?.title = "\(preferencesTitleName) (\(IMEApp.appVersionLabel))"
window?.titlebarAppearsTransparent = false
use(view: vwrGeneral, animate: false)