mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 18:45:33 +00:00
Fixed load file error if no file is found
This commit is contained in:
parent
a73b97d125
commit
62e164b2aa
1 changed files with 2 additions and 2 deletions
|
@ -177,9 +177,9 @@ void CSMSettings::UserSettings::loadFromFile(const QString &filePath)
|
|||
}
|
||||
|
||||
mSectionSettings.insert(section, settings);
|
||||
}
|
||||
|
||||
stream->device()->close();
|
||||
stream->device()->close();
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue