Disable seen indicator link

The seen indicator is a link to #state-text.
This link should not be clickable.
Fixes #247
This commit is contained in:
Maze 2021-08-30 03:01:53 +02:00
parent 9a4ababd9a
commit 180c02daed

View File

@ -35,7 +35,8 @@ TextEdit {
focus: false focus: false
selectByMouse: true selectByMouse: true
onLinkActivated: if (enableLinkActivation) Qt.openUrlExternally(link) onLinkActivated: if (enableLinkActivation && link !== '#state-text')
Qt.openUrlExternally(link)
MouseArea { MouseArea {
anchors.fill: label anchors.fill: label