Fixed missing dummy item after reloading (#5552)
Fixes #5548 Thanks to @reunite-ro and @Triedge
This commit is contained in:
@@ -84,7 +84,11 @@ bool YamlDatabase::verifyCompatibility( const YAML::Node& rootNode ){
|
||||
}
|
||||
|
||||
bool YamlDatabase::load(){
|
||||
return this->load( this->getDefaultLocation() );
|
||||
bool ret = this->load( this->getDefaultLocation() );
|
||||
|
||||
this->loadingFinished();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool YamlDatabase::reload(){
|
||||
@@ -128,8 +132,6 @@ bool YamlDatabase::load(const std::string& path) {
|
||||
|
||||
this->parseImports( rootNode );
|
||||
|
||||
this->loadingFinished();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user