From dc6d01a0bb10c61f04f10a4503f02ed188b8dfcc Mon Sep 17 00:00:00 2001 From: AT Date: Fri, 28 Jun 2024 13:34:26 -0400 Subject: [PATCH] Change the name of this property to not conflict. (#2480) Signed-off-by: Adam Treat --- gpt4all-chat/qml/ChatView.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gpt4all-chat/qml/ChatView.qml b/gpt4all-chat/qml/ChatView.qml index deddce0c..b07b7815 100644 --- a/gpt4all-chat/qml/ChatView.qml +++ b/gpt4all-chat/qml/ChatView.qml @@ -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;