mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix timing invalidate status bar (#954)
This commit is contained in:
parent
95661198ff
commit
d870d64c0d
@ -12,7 +12,7 @@ Change Log
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix an issue where needless live document analysis performed even when the status bar and inspector are invisible.
|
||||
- Fix an issue where needless live document analysis performed even when the status bar and inspector are invisible.
|
||||
- Fix missing localization.
|
||||
|
||||
|
||||
|
@ -85,13 +85,14 @@ final class StatusBarController: NSViewController {
|
||||
|
||||
|
||||
/// request analyzer to update editor info
|
||||
override func viewDidAppear() {
|
||||
override func viewWillAppear() {
|
||||
|
||||
super.viewDidAppear()
|
||||
super.viewWillAppear()
|
||||
|
||||
assert(self.documentAnalyzer != nil)
|
||||
|
||||
self.documentAnalyzer?.needsUpdateStatusEditorInfo = true
|
||||
self.documentAnalyzer?.invalidateEditorInfo()
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user