mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix window position autosave
This commit is contained in:
parent
ba81c386e2
commit
309cc7c3d6
@ -2,6 +2,15 @@
|
||||
Change Log
|
||||
==========================
|
||||
|
||||
develop
|
||||
--------------------------
|
||||
|
||||
### Fixes
|
||||
|
||||
- [beta] Fix an issue where initial window position was not stored.
|
||||
|
||||
|
||||
|
||||
3.0.0-beta.2 (144)
|
||||
--------------------------
|
||||
|
||||
|
@ -70,6 +70,7 @@ final class DocumentWindowController: NSWindowController {
|
||||
|
||||
// -> It's set as false by default if the window controller was invoked from a storyboard.
|
||||
self.shouldCascadeWindows = true
|
||||
self.window?.setFrameAutosaveName("document")
|
||||
|
||||
let window = self.window as! AlphaWindow
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user