Skip to content

Commit

Permalink
more parents to None
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Peter committed Jul 22, 2022
1 parent e972d29 commit 88f065b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spyder/plugins/editor/widgets/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1640,6 +1640,7 @@ def close_file(self, index=None, force=False):
editor.notify_close()
editor.setParent(None)
editor.completion_widget.setParent(None)
editor.kite_call_to_action.setParent(None)
if self.parent():
# Can be false in tests
self.get_plugin().unregister_widget_shortcuts(editor)
Expand Down

0 comments on commit 88f065b

Please sign in to comment.