[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 19/30] Make sure that we mark the currentDisplayed as None when we destroy.



* iw/partition_gui.py (shutDown):  Mark the currentDisplayed as None.
---
 iw/partition_gui.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index a393a2c..80b3a1f 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -288,6 +288,7 @@ class DiskStripeGraph:
             lab.destroy()
 
         self.next_ypos = 0.0
+        self.currentShown = None
 
     def getCanvas(self):
         return self.canvas
-- 
1.6.4.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]