From e4a3181e1d259c9919488632d9ea213cc3d2c003 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 1 Mar 2022 00:03:39 +0100 Subject: [PATCH] fix: Crash when saving projects --- lib/libimhex/source/helpers/project_file_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/source/helpers/project_file_handler.cpp b/lib/libimhex/source/helpers/project_file_handler.cpp index 20e9a5aea..85c6810ea 100644 --- a/lib/libimhex/source/helpers/project_file_handler.cpp +++ b/lib/libimhex/source/helpers/project_file_handler.cpp @@ -89,7 +89,7 @@ namespace hex { filePath = ProjectFile::s_currProjectFilePath; try { - projectFileData["filePath"] = ProjectFile::s_filePath; + projectFileData["filePath"] = ProjectFile::s_filePath.string(); projectFileData["pattern"] = ProjectFile::s_pattern; projectFileData["patches"] = ProjectFile::s_patches; projectFileData["dataProcessor"] = ProjectFile::s_dataProcessorContent;