fix: Building issues with the web build
This commit is contained in:
parent
e22424ffa4
commit
f0525d6463
@ -107,6 +107,8 @@ namespace hex {
|
||||
if (!s_settings.isValid())
|
||||
return;
|
||||
|
||||
const auto &settingsData = *s_settings;
|
||||
|
||||
// During a crash settings can be empty, causing them to be overwritten.
|
||||
if (settingsData.empty()) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user