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

Find correct default image for AboutDialog #1142

Merged
merged 3 commits into from
Jul 7, 2022

Conversation

corranwebster
Copy link
Contributor

This PR moves the trait definitions to the mixin class, which means that the Image trait is in the right context to find the about image.

Fixes #1125.

@corranwebster corranwebster marked this pull request as ready for review July 4, 2022 13:17
Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

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

LGTM. Tested this against PySide2 and it works as expected.

@corranwebster corranwebster merged commit cebd300 into main Jul 7, 2022
@corranwebster corranwebster deleted the fix/about-dialog-image branch July 7, 2022 11:38
corranwebster added a commit that referenced this pull request Jul 8, 2022
* Add a test that fails because image is not loaded correctly.

* Move AboutDialog trait definitions to mixin class.

This ensures that the Image trait can find the about.png file in pyface/images

* Fix flake8 issues.
corranwebster added a commit that referenced this pull request Jul 11, 2022
* Add a test that fails because image is not loaded correctly.

* Move AboutDialog trait definitions to mixin class.

This ensures that the Image trait can find the about.png file in pyface/images

* Fix flake8 issues.
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.

AboutDialog not getting default image
2 participants