-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash on open TreeSheets files on MacOS
When file is loaded directly via the open protocol on MacOS, `System::FileUsed(const wxString&, Document*)` had been called before the app event loop was entered. It thus tried to access the uninitialized file system watcher which led to a crash. Fix this by contructing the file system watcher right away.
- Loading branch information
Showing
2 changed files
with
3 additions
and
8 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