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

If Image is None, use default paintEvent handler only in Qt ImageEditor #1907

Merged
merged 3 commits into from
Jun 24, 2022

Conversation

corranwebster
Copy link
Contributor

@corranwebster corranwebster commented Jun 21, 2022

Fixes #1882.

Checklist

  • Add a news fragment if this PR is news-worthy for end users. (see docs/releases/README.rst)

Copy link
Contributor

@aaronayres35 aaronayres35 left a comment

Choose a reason for hiding this comment

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

change LGTM

However, the modified test does not seem to fail without the fix (it may or may not be worth the time trying to write a new failing test). Downstream where we ran into this issue, it seems to be resolved though so the fix appears to work as expected.

Thank you for this!

@corranwebster corranwebster merged commit 3177943 into main Jun 24, 2022
@corranwebster corranwebster deleted the fix/qt-image-editor-none branch June 24, 2022 08:23
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 value not handled correctly by ImageEditor
2 participants