fix: Occasional error when loading recent files

This commit is contained in:
WerWolv
2023-02-12 17:52:09 +01:00
parent 0b18930017
commit 3003dea409
4 changed files with 15 additions and 6 deletions

View File

@@ -144,9 +144,13 @@ namespace hex {
void ProjectFile::clearPath() {
ProjectFile::s_currProjectPath.clear();
}
std::fs::path ProjectFile::getPath() {
return ProjectFile::s_currProjectPath;
}
void ProjectFile::setPath(const std::fs::path &path) {
ProjectFile::s_currProjectPath = path;
}
}