Fix bug.
authorv13 <v13>
Fri, 26 Feb 2010 15:51:26 +0000 (15:51 +0000)
committerv13 <v13>
Fri, 26 Feb 2010 15:51:26 +0000 (15:51 +0000)
trunk/src/win.py

index 9097a9e..d270aae 100755 (executable)
@@ -270,6 +270,8 @@ class GirlsDialog(QDialog):
        # The selection works but isn't shown
        idx2=self.lstm.index(idx, 0)
        self.lst.setCurrentIndex(idx2)
+       # Give if focus to show the current selection - is this normal?
+       self.lst.setFocus(Qt.OtherFocusReason)
 
        # Run
        QDialog.exec_(self)