mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 10:22:35 +00:00
Start work on saving main window state.
This commit is contained in:
1 parent
9adf047525
commit
e773df33e3
2 files changed
+9
-3
No files matched your search
@@ -499,9 +499,8 @@ private extension AppDelegate {
|
||||
|
||||
func saveState() {
|
||||
|
||||
if let inspectorWindowController = inspectorWindowController {
|
||||
inspectorWindowController.saveState()
|
||||
}
|
||||
inspectorWindowController?.saveState()
|
||||
mainWindowController?.saveState()
|
||||
}
|
||||
|
||||
func updateSortMenuItems() {
|
||||
|
||||
@@ -75,6 +75,13 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
|
||||
}
|
||||
}
|
||||
|
||||
func saveState() {
|
||||
|
||||
// TODO: save width of split view and anything else that should be saved.
|
||||
|
||||
|
||||
}
|
||||
|
||||
// MARK: Sidebar
|
||||
|
||||
func selectedObjectsInSidebar() -> [AnyObject]? {
|
||||
|
||||
Reference in new issue
Block a user