Permalink
Browse files

Reset the 'component' traits in the enaml panes after destruction.

  • Loading branch information...
1 parent 2d52118 commit 8846ee173cb5b2fdea7e2c103fab9e0a11b9028e Pietro Berkes committed Nov 20, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 pyface/tasks/enaml_dock_pane.py
  2. +1 −0 pyface/tasks/enaml_pane.py
@@ -61,3 +61,4 @@ def destroy(self):
control.deleteLater()
self.control = None
+ self.component = None
@@ -69,3 +69,4 @@ def destroy(self):
control.deleteLater()
self.control = None
+ self.component = None

0 comments on commit 8846ee1

Please sign in to comment.