select last screen in the list

This commit is contained in:
Andreas Preikschat 2011-03-21 12:51:14 +01:00
parent e482866ccb
commit 2952e36a95

View File

@ -169,6 +169,7 @@ class FirstTimeForm(QtGui.QWizard, Ui_FirstTimeWizard):
"""
self.displayComboBox.clear()
self.displayComboBox.addItems(self.screens.get_screen_list())
self.displayComboBox.setCurrentIndex(self.displayComboBox.count() - 1)
def _getFileSize(self, url):
site = urllib.urlopen(url)