mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-14 17:09:30 -06:00
fix: Safety backup restore popup getting hidden by tip of the day
This commit is contained in:
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
Submodule lib/external/pattern_language updated: 0999ae3265...dd4c2b2620
@@ -548,7 +548,6 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
constexpr static auto CrashBackupFileName = "crash_backup.hexproj";
|
||||
for (const auto &path : fs::getDefaultPaths(fs::ImHexPath::Config)) {
|
||||
if (auto filePath = std::fs::path(path) / CrashBackupFileName; fs::exists(filePath)) {
|
||||
@@ -558,7 +557,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
auto tipsData = romfs::get("tips.json");
|
||||
if(tipsData.valid()){
|
||||
if(s_safetyBackupPath.empty() && tipsData.valid()){
|
||||
auto tipsCategories = nlohmann::json::parse(tipsData.string());
|
||||
|
||||
auto now = std::chrono::system_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user