Skip to content
Browse files

catch IndexError when restoring screens

Closes #235
  • Loading branch information...
1 parent 2f16bfb commit c6b02894a172495477c349185478328a5b366e3a Tim Neumann committed with tych0 Dec 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libqtile/state.py
View
2 libqtile/state.py
@@ -56,5 +56,5 @@ def apply(self, qtile):
try:
g = qtile.groupMap[group]
qtile.screens[screen].setGroup(g)
- except KeyError:
+ except (KeyError, IndexError):
pass # group or screen missing

0 comments on commit c6b0289

Please sign in to comment.
Something went wrong with that request. Please try again.