Skip to content

Refactor GuiSettingsContainer load/save #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 26, 2023

Conversation

lonesometraveler
Copy link
Contributor

I believe prefs_key is shared between main and gui. To ensure consistency and avoid unintended modifications, this PR proposes declaring prefs_key as a constant in main.

Furthermore, this PR introduces a new function called load_gui_settings. This function is designed to handle loading settings specific to the GUI component. By encapsulating this functionality in a separate function, we can improve the modularity and reusability.

@hacknus hacknus merged commit 2a21287 into hacknus:main Feb 26, 2023
@lonesometraveler lonesometraveler deleted the gui_settings branch February 28, 2023 11:56
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.

2 participants