mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-18 04:54:30 -04:00
fix: Keep name of chat after saving
This commit is contained in:
@ -173,6 +173,8 @@ void ChatRootView::saveHistory(const QString &filePath)
|
|||||||
auto result = ChatSerializer::saveToFile(m_chatModel, filePath);
|
auto result = ChatSerializer::saveToFile(m_chatModel, filePath);
|
||||||
if (!result.success) {
|
if (!result.success) {
|
||||||
LOG_MESSAGE(QString("Failed to save chat history: %1").arg(result.errorMessage));
|
LOG_MESSAGE(QString("Failed to save chat history: %1").arg(result.errorMessage));
|
||||||
|
} else {
|
||||||
|
setRecentFilePath(filePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user