summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgui.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui.py b/gui.py
index 228f5c489..b90617ca4 100755
--- a/gui.py
+++ b/gui.py
@@ -246,8 +246,10 @@ class InstallInterface:
if todo.instClass.keyboard:
from xkb import XKB
kb = XKB()
- (rules, model, layout, variant, options) = todo.keyboard.getXKB()
- kb.setRule (model, layout, variant, "complete")
+ info = todo.keyboard.getXKB()
+ if info:
+ (rules, model, layout, variant, options) = info
+ kb.setRule (model, layout, variant, "complete")
self.icw = InstallControlWindow (self, commonSteps, todo)
self.icw.start ()
self.finishedTODO.wait ()