From 9e7464db9885b1b68d5d032c1e3a93ec6ae96edf Mon Sep 17 00:00:00 2001 From: David Shea Date: Mar 16 2015 16:42:52 +0000 Subject: Do not attempt to set None as a warning --- diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py index 8d388aa..a139bb2 100644 --- a/pyanaconda/ui/gui/hubs/__init__.py +++ b/pyanaconda/ui/gui/hubs/__init__.py @@ -88,6 +88,8 @@ class Hub(GUIObject, common.Hub): 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 @@ class Hub(GUIObject, common.Hub): # 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