Skip to content

Commit

Permalink
Merge pull request #13 from mortaromarcello/master
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
inclement authored May 19, 2019
2 parents 6755deb + 2a9e074 commit 8e1935e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def set_main_panel(self, widget):
# Clear existing side panel entries
if len(self._main_panel.children) > 0:
for child in self._main_panel.children:
self._main_panel.remove(child)
self._main_panel.remove_widget(child)
# Set new side panel
self._main_panel.add_widget(widget)
self.main_panel = widget
Expand Down

0 comments on commit 8e1935e

Please sign in to comment.