mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-07 14:36:33 +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) {
|
onLinkHovered: function (link) {
|
||||||
if (!currentResponse || !currentChat.responseInProgress)
|
if (!currentResponse || !currentChat.responseInProgress)
|
||||||
statusBar.hoveredLink = link
|
statusBar.externalHoveredLink = link
|
||||||
}
|
}
|
||||||
|
|
||||||
Menu {
|
Menu {
|
||||||
@ -1330,7 +1330,7 @@ Rectangle {
|
|||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: statusBar
|
id: statusBar
|
||||||
property string hoveredLink: ""
|
property string externalHoveredLink: ""
|
||||||
anchors.top: textInputView.bottom
|
anchors.top: textInputView.bottom
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
@ -1340,12 +1340,12 @@ Rectangle {
|
|||||||
horizontalAlignment: Qt.AlignRight
|
horizontalAlignment: Qt.AlignRight
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
color: theme.mutedTextColor
|
color: theme.mutedTextColor
|
||||||
visible: currentChat.tokenSpeed !== "" || hoveredLink !== ""
|
visible: currentChat.tokenSpeed !== "" || externalHoveredLink !== ""
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
text: {
|
text: {
|
||||||
if (hoveredLink !== "")
|
if (externalHoveredLink !== "")
|
||||||
return hoveredLink
|
return externalHoveredLink
|
||||||
|
|
||||||
const segments = [currentChat.tokenSpeed];
|
const segments = [currentChat.tokenSpeed];
|
||||||
const device = currentChat.device;
|
const device = currentChat.device;
|
||||||
|
Loading…
Reference in New Issue
Block a user