mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
allow double click in studydeck
This commit is contained in:
parent
e4c1132aef
commit
9068e68a66
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ class StudyDeck(QDialog):
|
|||
self.connect(self.form.filter,
|
||||
SIGNAL("textEdited(QString)"),
|
||||
self.redraw)
|
||||
self.connect(self.form.list,
|
||||
SIGNAL("itemDoubleClicked(QListWidgetItem*)"),
|
||||
self.accept)
|
||||
self.show()
|
||||
# redraw after show so position at center correct
|
||||
self.redraw("", current)
|
||||
|
|
Loading…
Reference in a new issue