Change the name of this property to not conflict. (#2480)

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
AT 2024-06-28 13:34:26 -04:00 committed by GitHub
parent 2c8d634b5b
commit dc6d01a0bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -850,7 +850,7 @@ Rectangle {
onLinkHovered: function (link) {
if (!currentResponse || !currentChat.responseInProgress)
statusBar.hoveredLink = link
statusBar.externalHoveredLink = link
}
Menu {
@ -1330,7 +1330,7 @@ Rectangle {
Text {
id: statusBar
property string hoveredLink: ""
property string externalHoveredLink: ""
anchors.top: textInputView.bottom
anchors.bottom: parent.bottom
anchors.right: parent.right
@ -1340,12 +1340,12 @@ Rectangle {
horizontalAlignment: Qt.AlignRight
verticalAlignment: Qt.AlignVCenter
color: theme.mutedTextColor
visible: currentChat.tokenSpeed !== "" || hoveredLink !== ""
visible: currentChat.tokenSpeed !== "" || externalHoveredLink !== ""
elide: Text.ElideRight
wrapMode: Text.WordWrap
text: {
if (hoveredLink !== "")
return hoveredLink
if (externalHoveredLink !== "")
return externalHoveredLink
const segments = [currentChat.tokenSpeed];
const device = currentChat.device;