fix updater ui bug.

This commit is contained in:
St.Huang 2018-07-09 22:03:46 +08:00
parent 0b17f9cf34
commit fbc2b92590

View File

@ -88,8 +88,8 @@ class DialogUpdates(QtGui.QDialog, Ui_DialogUpdates):
def appendHtml(self,html='',temp=''):
self.html += html + '<div id="text_bottom"></div>'
self.textBrowser.setHtml(u'<html><body>{0}{1}</body></html>'.format(self.html,temp))
self.html += html
self.textBrowser.setHtml(u'<html><body>{0}{1}{2}</body></html>'.format(self.html, temp, u'<div id="text_bottom"></div>'))
self.textBrowser.scrollToAnchor('text_bottom')
def finish(self):