// it is a regular property
if (child->getType() == SGPropertyNode::BOOL && mod_ctrl) {
child->setBoolValue(!child->getBoolValue());
- prop_list->update();
+ prop_list->update(true);
} else
prop_list->publish(child);
} else {
// the user clicked on blank screen
- prop_list->update();
+ prop_list->update(true);
}
}
void PropertyList::update(bool restore_pos)
{
int pi;
- int i;
delete_arrays();
_num_entries = (int)_curr->nChildren();
dotFiles = true;
}
+ int i;
_num_children = _curr->nChildren();
_children = new SGPropertyNode_ptr[_num_children];
for (i = 0; i < _num_children; i++)
else
throw stdString("node doesn't exist");
} catch (const stdString& m) {
- SG_LOG(SG_GENERAL, SG_DEBUG, "property-list node `" << s << "': "<< m);
+ SG_LOG(SG_GENERAL, SG_DEBUG, "property-list node `" << s << "': " << m);
}