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

GH-426 Update views after font population

This commit is contained in:
Tae Won Ha 2017-05-04 21:50:51 +02:00
parent e393612684
commit 696dd2913b
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -101,6 +101,7 @@ class AppearancePref: PrefPane, NSComboBoxDelegate, NSControlTextEditingDelegate
// This takes approx. 0.8s - 1s on my machine... -_- // This takes approx. 0.8s - 1s on my machine... -_-
DispatchQueue.global(qos: .background).async { DispatchQueue.global(qos: .background).async {
fontPopup.addItems(withTitles: self.fontManager.availableFontNames(with: .fixedPitchFontMask)!) fontPopup.addItems(withTitles: self.fontManager.availableFontNames(with: .fixedPitchFontMask)!)
self.updateViews()
} }
let sizeCombo = self.sizeCombo let sizeCombo = self.sizeCombo