From cf298a1e9e512d91057916384e70e12a09d43f77 Mon Sep 17 00:00:00 2001 From: David Shea Date: Fri, 13 Mar 2015 10:36:16 -0400 Subject: [PATCH] Do not attempt to set None as a warning --- pyanaconda/ui/gui/hubs/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py index 8d388aa6466..a139bb25a4e 100644 --- a/pyanaconda/ui/gui/hubs/__init__.py +++ b/pyanaconda/ui/gui/hubs/__init__.py @@ -88,6 +88,8 @@ def __init__(self, data, storage, payload, instclass): self._inSpoke = False self._notReadySpokes = [] self._spokes = {} + + # Used to store the last result of _updateContinue self._warningMsg = None self._checker = None @@ -228,9 +230,11 @@ def _updateContinue(self): # info bar with incomplete spoke messages when the hub starts if warning != self._warningMsg: self.clear_info() - self.set_warning(warning) self._warningMsg = warning + if warning: + self.set_warning(warning) + self._updateContinueButton() @property