-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cre.cpp: split newDocView() into readDefaults() (#766)
The code moved into the new readDefaults() (that loads some settings from cr3.ini) will then only be called by ReaderUI, and not by other parts that only open a document to grab its metadata or cover image. Otherwise, these other openings could set some new global state and variables that would affect the currently opened-for-displaying document (eg. invalidate its cache, change its font...)
- Loading branch information
Showing
1 changed file
with
20 additions
and
10 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