mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #4848 (Error on opening (viewing) .lrf books in Calibre v. 0.6.39)
This commit is contained in:
parent
2ad4eb09cf
commit
48d0d695e0
@ -481,6 +481,7 @@ class Line(QGraphicsItem):
|
||||
painter.restore()
|
||||
painter.save()
|
||||
painter.setPen(QPen(Qt.NoPen))
|
||||
if hasattr(self, 'children'):
|
||||
for c in self.children():
|
||||
painter.setBrush(c.brush)
|
||||
painter.drawRect(c.boundingRect())
|
||||
|
Loading…
x
Reference in New Issue
Block a user