refactor: 修复Panel窗口关闭行为并优化ProjectManager路径处理

This commit is contained in:
2026-03-12 19:26:38 +08:00
parent 51251f08a4
commit 1fc84b9538
6 changed files with 6 additions and 6 deletions

View File

@@ -102,7 +102,7 @@ std::wstring ProjectManager::GetCurrentFullPathW() const {
if (m_path.empty()) return Utf8ToWstring(m_projectPath);
std::wstring fullPath = Utf8ToWstring(m_projectPath);
for (size_t i = 1; i < m_path.size(); i++) {
for (size_t i = 0; i < m_path.size(); i++) {
fullPath += L"/" + Utf8ToWstring(m_path[i]->name);
}
return fullPath;