Skip to content

Commit

Permalink
Remove ineffective changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zen-CODE committed Mar 10, 2018
1 parent 61e05c1 commit 8da2272
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kivy/modules/inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,7 @@ def on_window_children(self, win, children):
if self.avoid_bring_to_top:
return
self.avoid_bring_to_top = True
if self.parent:
self.parent.remove_widget(self)
win.remove_widget(self)
win.add_widget(self)
self.avoid_bring_to_top = False

Expand Down

0 comments on commit 8da2272

Please sign in to comment.