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

PR: Cannot change windows layout on first start after reset #6153

Merged
merged 2 commits into from
Jan 7, 2018

Conversation

csabella
Copy link
Contributor

@csabella csabella commented Jan 6, 2018

Fixes #6152.

The setup code for creating the layout configuration was saving the current layout and then overwriting the state to be None.

When this config was initially saved, it was also creating self.defaults in UserConfig. However, later changing the state to None was not changing the value in self.defaults. This was causing an issue when trying to change the layout because the defaults didn't have the same None value that the non-defaults had.

@pep8speaks
Copy link

pep8speaks commented Jan 6, 2018

Hello @csabella! Thanks for updating the PR.

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated on January 06, 2018 at 20:07 Hours UTC

@ccordoba12 ccordoba12 modified the milestones: v3.2.7, v3.2.6 Jan 6, 2018
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@ccordoba12 ccordoba12 merged commit 215a618 into spyder-ide:3.x Jan 7, 2018
ccordoba12 added a commit that referenced this pull request Jan 7, 2018
@csabella
Copy link
Contributor Author

csabella commented Jan 7, 2018

Thanks!

@csabella csabella deleted the issue6152 branch January 7, 2018 17:53
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.

3 participants