Skip to content
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

Add style option #132

Merged
merged 1 commit into from Dec 19, 2019
Merged

Conversation

cvuchener
Copy link
Contributor

Let choose the style from the option menu and store it in the settings.

In the current state, if the stored style value is not found in the QStyleFactory keys, the combo box may not be set accordingly and the style may change when accepting the option dialog.

@cvuchener
Copy link
Contributor Author

Added a "Default" choice that do not change the style. Since it does not change the style, the previous style will be kept when accepting the option dialog, but the default style will be used when the application is restarted.

@cvuchener
Copy link
Contributor Author

Switching between styles is not perfect. It is best to restart the application anyway. A message box should be added to tell to restart the application.

Let choose the style from the option menu and store it in the settings.

Default keep the current style (default style after start-up or the
previous style if set from the option menu).
@cvuchener cvuchener merged commit 20c39de into Dwarf-Therapist:master Dec 19, 2019
@cvuchener cvuchener deleted the style-option branch May 9, 2020 07:37
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.

None yet

1 participant