From 090161e69febae9c8fa181842e1a17223f7d694f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 10 Apr 2009 22:28:45 +0900 Subject: [PATCH] fix tab order for remaining buttons --- ankiqt/ui/addcards.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ankiqt/ui/addcards.py b/ankiqt/ui/addcards.py index 53f94549a..1e43e41cd 100644 --- a/ankiqt/ui/addcards.py +++ b/ankiqt/ui/addcards.py @@ -102,6 +102,8 @@ class AddCards(QDialog): # set the new fact self.editor.setFact(fact, check=True) self.setTabOrder(self.editor.tags, self.addButton) + self.setTabOrder(self.addButton, self.closeButton) + self.setTabOrder(self.closeButton, self.helpButton) def addCards(self): # make sure updated