From a520a61d8afe329d585271b3ed056ec9ddf172c3 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 24 Sep 2009 17:26:28 +0900 Subject: [PATCH] use string rep for interval size instead of 0.3f --- ankiqt/ui/deckproperties.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ankiqt/ui/deckproperties.py b/ankiqt/ui/deckproperties.py index 8353cfbe4..547137689 100644 --- a/ankiqt/ui/deckproperties.py +++ b/ankiqt/ui/deckproperties.py @@ -54,9 +54,9 @@ class DeckProperties(QDialog): # scheduling for type in ("hard", "mid", "easy"): v = getattr(self.d, type + "IntervalMin") - getattr(self.dialog, type + "Min").setText("%0.3f" % v) + getattr(self.dialog, type + "Min").setText(str(v)) v = getattr(self.d, type + "IntervalMax") - getattr(self.dialog, type + "Max").setText("%0.3f" % v) + getattr(self.dialog, type + "Max").setText(str(v)) self.dialog.delay0.setText(unicode(self.d.delay0/60.0)) self.dialog.delay1.setText(unicode(self.d.delay1/60.0)) self.dialog.delay2.setText(unicode(self.d.delay2))