mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-09-11 21:27:37 +03: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
|
backgroundColor: theme.textColor
|
||||||
backgroundColorHovered: theme.iconBackgroundDark
|
backgroundColorHovered: theme.iconBackgroundDark
|
||||||
visible: discoverField.text !== ""
|
visible: discoverField.text !== ""
|
||||||
contentItem: Text {
|
source: "qrc:/gpt4all/icons/close.svg"
|
||||||
color: clearDiscoverButton.hovered ? theme.iconBackgroundDark : theme.textColor
|
|
||||||
text: "\u2715"
|
|
||||||
font.pixelSize: theme.fontSizeLarge
|
|
||||||
}
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
discoverField.text = ""
|
discoverField.text = ""
|
||||||
discoverField.sendDiscovery() // should clear results
|
discoverField.sendDiscovery() // should clear results
|
||||||
|
Loading…
Reference in New Issue
Block a user