-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) This commit will: - Add clearRecentDocuments and noteNewRecentDocumentURL methods to AppDelegate - Change PrefGeneralViewController and PrefUtilsViewController to call AppDelegate.clearRecentDocuments instead of the NSDocumentController method - Change AppDelegate.openFile and PlayerCore.fileLoaded to call AppDelegate.noteNewRecentDocumentURL instead of the NSDocumentController method - Change saveRecentDocuments to not include a check for the recordRecentFiles preference - Remove the compiler directives that only included this code in debug builds - Switch to forced downcast operator instead of the conditional operator when casting to AppDelegate These changes enhance the workaround for macOS Sonoma clearing the open recent menu to cover the case where the user clears the list and also removes conditionalization that restricted this workaround to debug builds. Co-authored-by: Saagar Jha <[email protected]>
- Loading branch information
Showing
4 changed files
with
42 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters