few more windows issues

This commit is contained in:
2025-11-11 19:00:00 -05:00
parent 993f92e412
commit 517a8262a6
5 changed files with 10 additions and 15 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ namespace anm2ed
{
std::string errorString{};
document->path = !path.empty() ? path : document->path.string();
document->save(document->path, &errorString);
recent_file_add(document->path);
document->save(document->path.string(), &errorString);
recent_file_add(document->path.string());
}
}