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

@@ -36,6 +36,7 @@ namespace hex {
static bool hasPath();
static void clearPath();
static std::fs::path getPath();
static void setPath(const std::fs::path &path);
static void registerHandler(const Handler &handler) {
getHandlers().push_back(handler);