From b3e67f5cc2878c6b35b2152710b02a4f2cb8bfc4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 3 Dec 2011 12:31:31 +0530 Subject: [PATCH] WHen opening the job details window, ensure the scroll bar starts of at the bottom --- src/calibre/gui2/jobs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/jobs.py b/src/calibre/gui2/jobs.py index e3e874196a..8c1b5388d7 100644 --- a/src/calibre/gui2/jobs.py +++ b/src/calibre/gui2/jobs.py @@ -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: