mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:09:08 +08:00
Open material author page with custom openUrl
CURA-7310
This commit is contained in:
parent
92cef02ee5
commit
4f0f7dec5e
@ -4,7 +4,7 @@
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 1.4
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import UM 1.1 as UM
|
||||
import UM 1.5 as UM
|
||||
|
||||
import "../components"
|
||||
|
||||
@ -132,7 +132,7 @@ Item
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
linkColor: UM.Theme.getColor("text_link")
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
onLinkActivated: UM.UrlUtil.openUrl(link, ["https", "http"])
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user