Skip to content

Commit

Permalink
rating menuitem: not safe to use with threaded
Browse files Browse the repository at this point in the history
- Needs to be converted to async equivalent in #94
  • Loading branch information
virtuald committed Apr 28, 2017
1 parent 445402f commit b284232
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xlgui/widgets/menuitems.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def factory(self, menu, parent, context):

return item

@common.threaded
#@common.threaded
# TODO: ASYNC
# most of this function isn't safe to use from a (interacts with UI elements)
def on_show(self, widget, menu, parent, context):
"""
Updates the menu item on show
Expand Down

0 comments on commit b284232

Please sign in to comment.