From dda48886ddab02ac4fa9146e0b885055ce09141a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 30 Nov 2008 22:54:02 +0900 Subject: [PATCH] fix onchange, add ctrl+m --- ankiqt/ui/facteditor.py | 2 +- designer/main.ui | 83 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 81 insertions(+), 4 deletions(-) diff --git a/ankiqt/ui/facteditor.py b/ankiqt/ui/facteditor.py index 11f78c59b..c4ae7e2a4 100644 --- a/ankiqt/ui/facteditor.py +++ b/ankiqt/ui/facteditor.py @@ -383,7 +383,7 @@ class FactEditor(object): def onTagChange(self): self.fact.tags = canonifyTags(unicode(self.tags.text())) if self.onChange: - self.onChange(None) + self.onChange() self.fact.setModified(textChanged=True) self.deck.setModified() diff --git a/designer/main.ui b/designer/main.ui index ac4fafd85..b4e7b60b7 100644 --- a/designer/main.ui +++ b/designer/main.ui @@ -23,6 +23,14 @@ :/icons/anki.png:/icons/anki.png + + + 0 + 69 + 655 + 398 + + 1 @@ -141,8 +149,25 @@ 0 - + + + + 0 + 0 + 370 + 343 + + + + + + 0 + 0 + 100 + 30 + + @@ -157,6 +182,14 @@ + + + 0 + 0 + 100 + 30 + + 0 @@ -177,6 +210,14 @@ 0 + + + 0 + 0 + 370 + 49 + + @@ -201,6 +242,14 @@ + + + 0 + 0 + 100 + 30 + + 0 @@ -331,6 +380,14 @@ + + + 0 + 0 + 100 + 30 + + @@ -551,7 +608,7 @@ 0 0 655 - 25 + 23 @@ -684,11 +741,28 @@ - + + + + 0 + 467 + 655 + 20 + + + true + + + 0 + 23 + 655 + 46 + + Qt::Horizontal @@ -1002,6 +1076,9 @@ &Mark Card + + Ctrl+M +