fix: Found and fix review mistakes

This commit is contained in:
Petr Mironychev
2026-07-02 22:26:07 +02:00
parent c070d65366
commit 35bbaa1af0
139 changed files with 2032 additions and 1573 deletions

View File

@@ -317,7 +317,7 @@ ChatRootView {
onResetChatToMessage: function(idx) {
messageInput.text = model.content
messageInput.cursorPosition = model.content.length
root.chatModel.resetModelTo(idx)
root.resetChatTo(idx)
}
onOpenFileRequested: function(filePath) {
@@ -659,6 +659,10 @@ ChatRootView {
}
function sendChatMessage() {
if (root.isCompressing)
return
if (messageInput.text.trim() === "" && root.attachmentFiles.length === 0)
return
root.hasActiveError = false
root.sendMessage(fileMentionPopup.expandMentions(messageInput.text))
messageInput.text = ""