WHen opening the job details window, ensure the scroll bar starts of at the bottom

This commit is contained in:
Kovid Goyal 2011-12-03 12:31:31 +05:30
parent 0ee352b189
commit b3e67f5cc2

View File

@ -412,7 +412,8 @@ class DetailView(QDialog, Ui_Dialog): # {{{
self.timer = QTimer(self)
self.timer.timeout.connect(self.update)
self.timer.start(1000)
v = self.log.verticalScrollBar()
v.setValue(v.maximum())
def update(self):
if self.html_view: