On Sun, 10 Jul 2011 18:47:13 -0500 Terry Brown <[email protected]> wrote:
> I can't work out why the headline is going into edit mode, but > coincidentally I think fixing this bug: > > https://groups.google.com/d/topic/leo-editor/z_7CXsMZk2Y/discussion > > will fix the blind editing problem, and I want that fixed, so will try > that. Well, I wasn't able to fix the bug cleanly. I.e. the bug by which switching to a different c by double clicking an UNL leaves the clicked headline in edit mode with focus so that attempting to type in the new c actually messes up the headline in the old c. So I fixed it uncleanly with a timer event which moves focus to the new c 0.5 sec after it opens / is brought to front. Note that this only applies to qttabs as non-tabbed gets the focus right because of the window change. Code's on the trunk - works for me and unit tests pass, but use caution. 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.
