mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-10 01:10:35 +00:00
Change the name of this property to not conflict. (#2480)
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
2c8d634b5b
commit
dc6d01a0bb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user