mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
Fixed load file error if no file is found
This commit is contained in:
parent
a73b97d125
commit
62e164b2aa
@ -177,9 +177,9 @@ void CSMSettings::UserSettings::loadFromFile(const QString &filePath)
|
||||
}
|
||||
|
||||
mSectionSettings.insert(section, settings);
|
||||
}
|
||||
|
||||
stream->device()->close();
|
||||
stream->device()->close();
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user