On Thu, 3 Apr 2008 07:29:30 -0500
Terry Brown <[EMAIL PROTECTED]> wrote:

> > if you right click on cleos icon when the headline is not selected,
> > it is not removed.  
> 
> That's true for icons in general, right click removal only works when
> the node's selected.  But I think it makes sense that the node not
> need to be selected, I'll see if I can change that and then if Edward
> accepts the change into the core.

Turns out there's a minor bug in the current trunk.  If you have the
same icon on unselected node A and on selected node B and then you
right click the icon on unselected node A, the icon is deleted from
selected node B.

This is because deleteButtonCallback passes deleteIconByName a tnode,
but deleteIconByName ignores it and operates on c.currentPosition()
instead.

I tried a simple fix whereby deleteButtonCallback passes
deleteIconByName a position instead of a tnode, and deleteIconByName
uses it instead of c.currentPosition(), and that seemed to work fine.

But storing positions always makes me nervous.

Edward, should I `bzr send` you the change?

Cheers -Terry


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to