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

Suggestion for fixing the propblem with type comparisons in QSettingsManager._get #7

Merged
merged 8 commits into from
Jul 26, 2015

Conversation

stlehmann
Copy link
Contributor

No description provided.

@stlehmann
Copy link
Contributor Author

This PR fixes #8 , #12 , #10 , #11 and #9

For some reason if I use the <code>saveState()</code> function of a <code>QMainWindow</code> object comparing the <code>QByteArray</code> with None returns true and prevents the <code>set()</code> function from updating the settings value. So I added an explicit condition for None.
@mfitzp mfitzp mentioned this pull request Jul 26, 2015
mfitzp added a commit that referenced this pull request Jul 26, 2015
Suggestion for fixing the propblem with type comparisons in QSettingsManager._get
@mfitzp mfitzp merged commit f2e7201 into pythonguis:master Jul 26, 2015
@mfitzp
Copy link
Member

mfitzp commented Jul 26, 2015

Thanks again for your contributions @MrLeeH

I have a few tests to run and then I'll release this onto PyPi.

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