Build viewer/editor #13
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,7 @@ auto UESaveFile::lastError() const -> const std::string& {
|
|||
|
||||
auto UESaveFile::reloadData() -> bool {
|
||||
if(_noReloadAfterSave) {
|
||||
_noReloadAfterSave = false;
|
||||
return valid();
|
||||
}
|
||||
|
||||
|
@ -211,8 +212,11 @@ void UESaveFile::loadData() {
|
|||
}
|
||||
|
||||
if(_properties.back()->name != "None" && _properties.back()->propertyType != "NoneProperty") {
|
||||
_lastError = "Couldn't find a final NoneProperty.";
|
||||
return;
|
||||
}
|
||||
|
||||
reader.closeFile();
|
||||
|
||||
_valid = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue