diff -r 7dd1b9cd3150 -r 6e8af43d537d OllamaInterface/Ui_OllamaHistoryWidget.py --- a/OllamaInterface/Ui_OllamaHistoryWidget.py Mon Aug 05 18:37:16 2024 +0200 +++ b/OllamaInterface/Ui_OllamaHistoryWidget.py Tue Aug 06 18:18:39 2024 +0200 @@ -28,6 +28,9 @@ self.newChatButton = QtWidgets.QToolButton(parent=OllamaHistoryWidget) self.newChatButton.setObjectName("newChatButton") self.horizontalLayout.addWidget(self.newChatButton) + self.editButton = QtWidgets.QToolButton(parent=OllamaHistoryWidget) + self.editButton.setObjectName("editButton") + self.horizontalLayout.addWidget(self.editButton) self.deleteButton = QtWidgets.QToolButton(parent=OllamaHistoryWidget) self.deleteButton.setObjectName("deleteButton") self.horizontalLayout.addWidget(self.deleteButton) @@ -36,9 +39,11 @@ QtCore.QMetaObject.connectSlotsByName(OllamaHistoryWidget) OllamaHistoryWidget.setTabOrder(self.titleEdit, self.modelEdit) OllamaHistoryWidget.setTabOrder(self.modelEdit, self.newChatButton) - OllamaHistoryWidget.setTabOrder(self.newChatButton, self.deleteButton) + OllamaHistoryWidget.setTabOrder(self.newChatButton, self.editButton) + OllamaHistoryWidget.setTabOrder(self.editButton, self.deleteButton) def retranslateUi(self, OllamaHistoryWidget): _translate = QtCore.QCoreApplication.translate self.newChatButton.setToolTip(_translate("OllamaHistoryWidget", "Press to start a new chat based on the current history.")) + self.editButton.setToolTip(_translate("OllamaHistoryWidget", "Press to edit the chat title.")) self.deleteButton.setToolTip(_translate("OllamaHistoryWidget", "Press to delete this chat history."))