Skip to content

Conversation

@alexleach
Copy link

Fixed a NameError, as view_is_widget was defined as a method, but used like a function. So, moved it out of the class, although a smaller fix would have been to just add self. to the view_is_widget call, in on_selection_modified().

Also, added a None type check, to suppress some errors I saw in the console. The latter fix is slightly different to, but addresses the same issue reported in PR #13. Only just seen that PR, but I applied the patch a while ago, so I'm not exactly sure under what circumstances that error message is produced...

…ew_is_widget was defined as a method, but used like a function. So, moved it out of the class and added a None type check, to suppress some errors I saw in the console
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.

1 participant