From fbc2b92590896bfb7bdaa7b343a8695134f709a4 Mon Sep 17 00:00:00 2001 From: "St.Huang" Date: Mon, 9 Jul 2018 22:03:46 +0800 Subject: [PATCH] fix updater ui bug. --- src/fastwq/libs/ankihub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fastwq/libs/ankihub.py b/src/fastwq/libs/ankihub.py index d3b575e..47a9b2a 100644 --- a/src/fastwq/libs/ankihub.py +++ b/src/fastwq/libs/ankihub.py @@ -88,8 +88,8 @@ class DialogUpdates(QtGui.QDialog, Ui_DialogUpdates): def appendHtml(self,html='',temp=''): - self.html += html + '
' - self.textBrowser.setHtml(u'{0}{1}'.format(self.html,temp)) + self.html += html + self.textBrowser.setHtml(u'{0}{1}{2}'.format(self.html, temp, u'
')) self.textBrowser.scrollToAnchor('text_bottom') def finish(self):