Skip to content

Conversation

@vanmatten
Copy link

@vanmatten vanmatten commented Jan 18, 2025

Language, type of roads generation, LOD and Output paths are stored in config.ini file. So they are used as default values, when the program is restarted.

This is achieved by the Python in-built configparser module.

This is intended mainly for keeping language selection, but I extended it to every user-input value of the GUI.

The config.ini save happens after clicking "Generate" to minimize the code edit impact, maybe it could be a better solution.

Language, type of roads generation, LOD and Output paths are stored in a config.ini file and they are used as default values, when the program is restarted.
@vanmatten vanmatten force-pushed the remember-last-options branch from 3ac050f to 171b741 Compare May 5, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant