[kit] Update colorStyle menu on view appear
This commit is contained in:
parent
6c0342fb78
commit
76ad824e73
1 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,10 @@ class PreferencesViewController: NSViewController {
|
|||
|
||||
override func viewWillAppear() {
|
||||
super.viewWillAppear()
|
||||
if let style = defaults.colorStyle {
|
||||
styleMenu.selectItem(withTag: Int(style.rawValue))
|
||||
updateColorViewVisibility()
|
||||
}
|
||||
prepareColorViews()
|
||||
prepareColorPanel()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue