On Wed, 5 Nov 2014 14:59:54 -0800 (PST)
lewis <lewisn...@operamail.com> wrote:

> And to clarify the behaviour - with several tabs open, the tab focus 
> switches to the first tab in the row.
> 
> Lewis

TL;DR: I see that with the rev. below, I guess Leo needs to track the
previously selected tab and re-select it now.

Long version:

Leo 5.0a1, build 20141105174046, Wed Nov  5 17:40:46 CST 2014
Git repo info: branch = master, commit = d963788ff82d
Python 2.7.6, PyQt version 4.8.6
linux2

it's only the first time you click the button, when the buttons defined
in @settings @buttons of an unopen file.  The file opens briefly to
grab the code for the button, and when it closes the previously selected
tab is not selected.

Similarly, with three tabs open, 1, 2, 3 from left to right.  Select
tab 2, then tab 3, the close tab 3, I'd expect tab 2 to be selected,
but it's tab 1 again.

Qt's default behavior seems to be select the tab to the right of the
closing tab if there is one, else to the left, which might be more
intuitive in the "Similarly" case above, but doesn't help if the case
you're reporting.

Cheers -Terry

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to