diff --git a/aqt/main.py b/aqt/main.py index f98ced2c5..69a13d2c5 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -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) diff --git a/designer/profiles.ui b/designer/profiles.ui index ad50960d8..8c907df33 100644 --- a/designer/profiles.ui +++ b/designer/profiles.ui @@ -13,6 +13,10 @@ Profiles + + + :/icons/anki.png:/icons/anki.png + @@ -109,6 +113,8 @@ delete_2 quit - + + +