Edit node property causes deselection?
"ogeva" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Oh well. It's working as expected.
The problematic line was
Code:
@Override
public void resultChanged(LookupEvent le) {
refresh(true);
}
In the child factory class.
It would refresh the nodes collection on any change, and a change was triggered by the property change. then the selected node would get deselected...
I am not sure why it was there. It was probably copied early on when working with a tutorial or something.