mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-04 12:00:10 +00:00
Fixup the plus new chat button.
This commit is contained in:
parent
ae51e3f6fa
commit
93a05c8834
@ -37,8 +37,16 @@ Drawer {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
font.pixelSize: theme.fontSizeLarger
|
font.pixelSize: theme.fontSizeLarger
|
||||||
text: qsTr("New chat")
|
topPadding: 20
|
||||||
|
bottomPadding: 20
|
||||||
|
text: qsTr("\uFF0B New chat")
|
||||||
Accessible.description: qsTr("Use this to create a new chat")
|
Accessible.description: qsTr("Use this to create a new chat")
|
||||||
|
background: Rectangle {
|
||||||
|
border.color: newChat.down ? theme.backgroundLightest : theme.buttonBorder
|
||||||
|
border.width: 2
|
||||||
|
radius: 10
|
||||||
|
color: newChat.hovered ? theme.backgroundDark : theme.backgroundDarkest
|
||||||
|
}
|
||||||
onClicked: {
|
onClicked: {
|
||||||
LLM.chatListModel.addChat();
|
LLM.chatListModel.addChat();
|
||||||
Network.sendNewChat(LLM.chatListModel.count)
|
Network.sendNewChat(LLM.chatListModel.count)
|
||||||
|
Loading…
Reference in New Issue
Block a user