On Sunday, November 8, 2020 at 9:08:19 AM UTC-5, Edward K. Ream wrote:
>
>
> The first phase is nearing completion.  It simplifies the logic concerning 
> headlines. This is tricky because editing headlines involves *ephemeral *Qt 
> "headline editor" widgets.
>

Ephemeral -  do you mean you instantiate a new widget each time?  When I've 
written this kind of thing I have usually reused the same one.  I haven't 
done it with QT, though.
 

> ... However, it is now possible to have changes revert with the following 
> sequence of actions:
>
> - Ctrl-I: New headline
> - type abc
> - *click* another node: the headline appears to stick.
> - Double click abc node: the headline reverts to newHeadline
>
> Note: The reversion does *not* happen when using Ctrl-H instead of the 
> double click.
>

If the same widget were getting reused, I would have thought that in the 
double-click case it wasn't getting loaded with the current headline, so 
the old one would still be in the widget.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/e1389776-8c55-49cb-aab4-6760106453bco%40googlegroups.com.

Reply via email to