This repository has been archived by the owner on Jun 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition crash: cannot open prefs when no game is selected.
When encountering a fatal error, before completely bailing out, the user is asked if he wants to have a last change editing the preferences. The prefs dialog requires a valid game configuration present. Here's the race condition: no game configuration, no installable packs -> fatal errror -> user asked to edit prefs. But: no game configuration, not able to edit prefs. Implemented solution: simply don't ask the user to edit prefs if it's technically not possible (at least better then a crash).
- Loading branch information
Showing
3 changed files
with
30 additions
and
9 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