I seem to be stuck re reliably capturing changes to headlines.

The essence of the problem is that by the time mouse or focus-out
events are reported, the QLineEdit widget that contains the changed
text has been destroyed.

As a result, leoQtTree.endEditLabel doesn't get called, so the change
doesn't get reported, and the next time the tree is redrawn the
headline is reverted.

Trying to capture focus-out events in the body or tree can lead to
disastrous results, as yesterday's work shows.  Headlines get swapped
all over the outline.

This must be fixed properly. Maybe there is an "about-to-be-destroyed"
event that can be caught in the QLineEdit widget itself.

Any other ideas?

Edward
--~--~---------~--~----~------------~-------~--~----~
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