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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.