winix_fullmorm #4

Merged
tomasz.sowa merged 27 commits from winix_fullmorm into master 2021-05-27 10:49:46 +02:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 2f72bd29ec - Show all commits

View File

@ -408,8 +408,7 @@ bool Model::insert(ModelData * model_data, bool insert_whole_tree)
bool Model::insert_tree(bool insert_whole_tree)
{
bool result = false;
has_primary_key_set = false; // the key will be overwritten (the database will create a new key)
model_env->has_primary_key_set = false;
model_env->has_primary_key_set = has_primary_key_set;
if( insert_whole_tree )
{