mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
WHen opening the job details window, ensure the scroll bar starts of at the bottom
This commit is contained in:
parent
0ee352b189
commit
b3e67f5cc2
@ -412,7 +412,8 @@ class DetailView(QDialog, Ui_Dialog): # {{{
|
|||||||
self.timer = QTimer(self)
|
self.timer = QTimer(self)
|
||||||
self.timer.timeout.connect(self.update)
|
self.timer.timeout.connect(self.update)
|
||||||
self.timer.start(1000)
|
self.timer.start(1000)
|
||||||
|
v = self.log.verticalScrollBar()
|
||||||
|
v.setValue(v.maximum())
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
if self.html_view:
|
if self.html_view:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user