mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix regression in 2.0 that broke viewing of LRF format ebooks. Fixes #1360332 [Impossible to read a lrf document](https://bugs.launchpad.net/calibre/+bug/1360332)
This commit is contained in:
parent
ad45dc35c8
commit
fc3626aca2
@ -327,7 +327,7 @@ class Link(QGraphicsRectItem):
|
|||||||
self.brush = self.__class__.inactive_brush
|
self.brush = self.__class__.inactive_brush
|
||||||
self.setPen(QPen(Qt.NoPen))
|
self.setPen(QPen(Qt.NoPen))
|
||||||
self.setCursor(Qt.PointingHandCursor)
|
self.setCursor(Qt.PointingHandCursor)
|
||||||
self.setAcceptsHoverEvents(True)
|
self.setAcceptHoverEvents(True)
|
||||||
|
|
||||||
def hoverEnterEvent(self, event):
|
def hoverEnterEvent(self, event):
|
||||||
self.brush = self.__class__.active_brush
|
self.brush = self.__class__.active_brush
|
||||||
|
Loading…
x
Reference in New Issue
Block a user