summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2012-10-10 11:12:18 -0500
committerDavid Lehman <dlehman@redhat.com>2012-10-12 09:24:54 -0500
commitd80f6a3154a2fc8243fc56a4af028837384943fb (patch)
treed748d44f593a98de80bb45eee41294ddcdde94f0
parent2383bfcc2b09584d02656dafd77ae046cb73e816 (diff)
downloadanaconda-d80f6a3154a2fc8243fc56a4af028837384943fb.tar.gz
anaconda-d80f6a3154a2fc8243fc56a4af028837384943fb.tar.xz
anaconda-d80f6a3154a2fc8243fc56a4af028837384943fb.zip
Clear errors when entering or leaving the custom spoke.
-rw-r--r--pyanaconda/ui/gui/spokes/custom.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 114cffb53..9838e2249 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -339,6 +339,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
self.storage.devicetree.registerAction(action)
def apply(self):
+ self.clear_errors()
ui_devicetree = self.__storage.devicetree
log.debug("converting custom spoke changes into actions")
@@ -609,6 +610,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
self._unused_devices = None
def refresh(self):
+ self.clear_errors()
NormalSpoke.refresh(self)
# Make sure the storage spoke execute method has finished before we