diff options
Diffstat (limited to 'iw/xconfig_gui.py')
-rw-r--r-- | iw/xconfig_gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py index 3c7eb9844..cfd4f6c00 100644 --- a/iw/xconfig_gui.py +++ b/iw/xconfig_gui.py @@ -229,6 +229,7 @@ class XCustomWindow (InstallWindow): if len(available) == 1: self.res_combo.set_popdown_strings (available["8"]) self.selectedDepth = "8" + self.selectedRes = available[self.selectedDepth][0] elif len(available) >= 2: #--If they can do 16 bit color, default to 16 bit at 1024x768 self.depth_combo.list.select_item (1) @@ -264,7 +265,6 @@ class XCustomWindow (InstallWindow): break count = count + 1 - location = available[self.selectedDepth].index(self.selectedRes) self.swap_monitor(location) |