From ff207dc3449fb9b57fdb66ee44ebba8362e96f88 Mon Sep 17 00:00:00 2001 From: AT Date: Mon, 1 Jul 2024 14:01:11 -0400 Subject: [PATCH] Fix the erase search button to use the new icon. (#2501) Signed-off-by: Adam Treat --- gpt4all-chat/qml/AddModelView.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gpt4all-chat/qml/AddModelView.qml b/gpt4all-chat/qml/AddModelView.qml index 360c6231..7cb76d50 100644 --- a/gpt4all-chat/qml/AddModelView.qml +++ b/gpt4all-chat/qml/AddModelView.qml @@ -144,11 +144,7 @@ Rectangle { backgroundColor: theme.textColor backgroundColorHovered: theme.iconBackgroundDark visible: discoverField.text !== "" - contentItem: Text { - color: clearDiscoverButton.hovered ? theme.iconBackgroundDark : theme.textColor - text: "\u2715" - font.pixelSize: theme.fontSizeLarge - } + source: "qrc:/gpt4all/icons/close.svg" onClicked: { discoverField.text = "" discoverField.sendDiscovery() // should clear results