mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-10 01:10:35 +00:00
Fix the erase search button to use the new icon. (#2501)
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
125b8d50bd
commit
ff207dc344
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user