NodeChanged doesn't seem to work
Hello!
I've a TreeView on my panel and all in all it works. But now I want to change a value in one of the nodes and update just the widget for that node.
In short it's
K2Vector<NodeID>::const_iterator iter = selectedItems.begin();
myNodeID* oneNode = static_cast<myNodeID*>(iter->Get());
oneNode->SetName(PMString ("Test"));
oneManager->NodeChanged(*iter, kFalse, msg);
But nothing changes. Also neither ApplyNodeIDToWidget() nor ApplyDataToWidget() gets called with my message.
I was able to see that myNodeID::Compare() is called with the new name, but nothing else. What am I missing?
Thanks, Martin
|