Re: Bug refresh
Tor Norbye <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Organization | Sun Microsystems, Inc |
| Message-ID | <1041065236.19097.98.camel@proto> |
On Fri, 2002-12-27 at 10:22, Andrew Serff wrote:
> Hey every one. I just did an update of the task list code and now I
> can right click and hit refresh in the table for the bugs. Did
> something change? Do I need to update all of netbeans? I can’t test
> this bugzilla stuff with out trying to load some bugs…J
I think it's because the following block of code was commented
out in TaskListView's setRoot() method:
/*// Select the root node, such that the empty tasklist has
// a context menu - but only if there are no items in the list
if (!tasklist.getRoot().hasSubtasks()) {
// See http://www.netbeans.org/issues/show_bug.cgi?id=27696
Node[] sel = new Node[] {
getExplorerManager().getRootContext() };
try {
getExplorerManager().setSelectedNodes(sel);
} catch (PropertyVetoException e) {
TopManager.getDefault().getErrorManager().notify(
ErrorManager.INFORMATIONAL,
e);
}
}*/
If you uncomment it I suspect the context menu will return.
I think Tim's commit message said that the bug he was working
on was only partially fixed, so I assume this is commented out
only temporarily.
-- Tor