summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui/gui/hubs
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda/ui/gui/hubs')
-rw-r--r--pyanaconda/ui/gui/hubs/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyanaconda/ui/gui/hubs/__init__.py b/pyanaconda/ui/gui/hubs/__init__.py
index f927faeba..17bd7201a 100644
--- a/pyanaconda/ui/gui/hubs/__init__.py
+++ b/pyanaconda/ui/gui/hubs/__init__.py
@@ -274,7 +274,9 @@ class Hub(UIObject):
event.keyval not in [Gdk.KEY_space, Gdk.KEY_Return, Gdk.KEY_ISO_Enter, Gdk.KEY_KP_Enter, Gdk.KEY_KP_Space]:
return
- selector.grab_focus()
+ if selector:
+ selector.grab_focus()
+
self._runSpoke(spoke)
# Now update the selector with the current status and completeness.