mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-31 10:37:00 -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,9 +481,10 @@ class Line(QGraphicsItem): | |||||||
|             painter.restore() |             painter.restore() | ||||||
|         painter.save() |         painter.save() | ||||||
|         painter.setPen(QPen(Qt.NoPen)) |         painter.setPen(QPen(Qt.NoPen)) | ||||||
|         for c in self.children(): |         if hasattr(self, 'children'): | ||||||
|             painter.setBrush(c.brush) |             for c in self.children(): | ||||||
|             painter.drawRect(c.boundingRect()) |                 painter.setBrush(c.brush) | ||||||
|  |                 painter.drawRect(c.boundingRect()) | ||||||
|         painter.restore() |         painter.restore() | ||||||
|         painter.save() |         painter.save() | ||||||
|         for tok in self.tokens: |         for tok in self.tokens: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user