mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +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]
|
||||
|
||||
if tooltip:
|
||||
tooltip = self.tr("{} (CTRL+Click to open)").format(tooltip)
|
||||
QToolTip.showText(self.mapToGlobal(event.pos()), tooltip)
|
||||
|
||||
def mouseReleaseEvent(self, event):
|
||||
|
|
Loading…
Reference in a new issue