Skip to content

Fix AttributeError at line 1102#1

Open
hawstan wants to merge 1 commit intophuang:masterfrom
hawstan:master
Open

Fix AttributeError at line 1102#1
hawstan wants to merge 1 commit intophuang:masterfrom
hawstan:master

Conversation

@hawstan
Copy link
Copy Markdown

@hawstan hawstan commented May 20, 2014

An AttributeError: 'NoneType' object has no attribute 'clear' was being thrown on line 1102 when switching from ibus-anthy to a different input source.
The error is now prevented via checking if Engine.__input_mode_icon is not null before calling __input_mode_icon.clear().

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