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

Fix TypeError when changing to dark mode #2875

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Fix TypeError when changing to dark mode #2875

merged 1 commit into from
Nov 28, 2023

Conversation

amolenaar
Copy link
Member

@amolenaar amolenaar commented Nov 28, 2023

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

Issue Number: #2860

What is the new behavior?

Clear event handler when the diagram widget(s) are destroyed.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions bot added the python Pull requests that update Python code label Nov 28, 2023
gaphor/ui/diagrampage.py Outdated Show resolved Hide resolved
Clear the handler when the diagram widget(s) are destroyed.
@danyeaw danyeaw changed the title Clear notify handler when diagram is closed Fix TypeError when changing to dark mode Nov 28, 2023
@danyeaw danyeaw added fix A fix for a bug and removed python Pull requests that update Python code labels Nov 28, 2023
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

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

This looks great, thanks @amolenaar!

@danyeaw danyeaw merged commit cc4b208 into main Nov 28, 2023
20 checks passed
@danyeaw danyeaw deleted the close-diagrams branch November 28, 2023 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants