macOS: Save/restore the log window's size
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
4cb775c72f
commit
1dccd39818
|
@ -193,6 +193,10 @@ class LogViewController: NSViewController {
|
|||
updateLogEntriesTimer = nil
|
||||
}
|
||||
|
||||
override func viewWillAppear() {
|
||||
view.window?.setFrameAutosaveName(NSWindow.FrameAutosaveName("LogWindow"))
|
||||
}
|
||||
|
||||
override func viewWillDisappear() {
|
||||
super.viewWillDisappear()
|
||||
stopUpdatingLogEntries()
|
||||
|
|
Loading…
Reference in New Issue