mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-01 18:49:38 +12:00
Clickable links: adds tip to tooltip
This commit is contained in:
parent
cd8ad6cc3a
commit
a6a82d1bba
|
@ -530,6 +530,7 @@ class MDEditView(textEditView):
|
||||||
tooltip = ct.texts[1] or ct.texts[2]
|
tooltip = ct.texts[1] or ct.texts[2]
|
||||||
|
|
||||||
if tooltip:
|
if tooltip:
|
||||||
|
tooltip = self.tr("{} (CTRL+Click to open)").format(tooltip)
|
||||||
QToolTip.showText(self.mapToGlobal(event.pos()), tooltip)
|
QToolTip.showText(self.mapToGlobal(event.pos()), tooltip)
|
||||||
|
|
||||||
def mouseReleaseEvent(self, event):
|
def mouseReleaseEvent(self, event):
|
||||||
|
|
Loading…
Reference in a new issue