fix: Keep name of chat after saving

This commit is contained in:
Petr Mironychev
2025-01-26 10:03:34 +01:00
parent 31145f191b
commit 2c49d45297

View File

@ -173,6 +173,8 @@ void ChatRootView::saveHistory(const QString &filePath)
auto result = ChatSerializer::saveToFile(m_chatModel, filePath);
if (!result.success) {
LOG_MESSAGE(QString("Failed to save chat history: %1").arg(result.errorMessage));
} else {
setRecentFilePath(filePath);
}
}