Skip to content

Commit

Permalink
Merge pull request #5335 from tiktok7/actionbar-issue-5333
Browse files Browse the repository at this point in the history
issue #5333 - actionbar throws exception when resized
  • Loading branch information
KeyWeeUsr committed Aug 17, 2017
2 parents 79aa5d6 + 7c00c1d commit 83ec087
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kivy/uix/actionbar.py
Expand Up @@ -491,7 +491,8 @@ def remove_widget(self, widget):
super(ActionView, self).remove_widget(widget)
if isinstance(widget, ActionOverflow):
for item in widget.list_action_item:
self._list_action_items.remove(item)
if item in self._list_action_items:
self._list_action_items.remove(item)

if widget in self._list_action_items:
self._list_action_items.remove(widget)
Expand Down

0 comments on commit 83ec087

Please sign in to comment.