mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Open profile on double click
This commit is contained in:
parent
18d671c3a3
commit
bc62c06e3c
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ class AnkiQt(QMainWindow):
|
|||
f = self.profileForm = aqt.forms.profiles.Ui_Dialog()
|
||||
f.setupUi(d)
|
||||
d.connect(f.login, SIGNAL("clicked()"), self.onOpenProfile)
|
||||
d.connect(f.profiles, SIGNAL("itemDoubleClicked(QListWidgetItem*)"),
|
||||
self.onOpenProfile)
|
||||
d.connect(f.quit, SIGNAL("clicked()"), lambda: sys.exit(0))
|
||||
d.connect(f.add, SIGNAL("clicked()"), self.onAddProfile)
|
||||
d.connect(f.rename, SIGNAL("clicked()"), self.onRenameProfile)
|
||||
|
|
Loading…
Reference in a new issue