Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the Load dialog's UX when there are no save files or corrupte…
…d files Re-add the popup that appears when "Load" is pressed on the title screen if there are no files, but now check for files from previous versions too. Improve handling of switching from a version with files to a version without files, disabling buttons on the load dialog when there are no files in the current directory. Versions with no files will still be shown in the drop-down. This adds a todo about the error path at the start of evaluate_summary_string, this path is reached by creating empty files in the save dir. The dialog's state is reasonable, so it seemed a low priority and I don't want to introduce new bugs by refactoring this path now. Deleting all files now doesn't automatically close the dialog.
- Loading branch information
1 parent
6c980d1
commit c46a217
Showing
3 changed files
with
56 additions
and
37 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