diff options
author | jenglish <jenglish@flightlab.com> | 2012-07-02 18:27:31 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2012-07-02 18:27:31 (GMT) |
commit | 022243628900981f92cc595cfefbf7f7b66f51a6 (patch) | |
tree | 88ca10f6301a2812a0331651dd287e89aa9ca688 /generic/ttk | |
parent | 1c4e68215108b32cdbd6ef93ab1681e5a3f71bc9 (diff) | |
parent | 320c10d3d423a300bcab6f28689dbfaa48b1cc02 (diff) | |
download | tk-022243628900981f92cc595cfefbf7f7b66f51a6.zip tk-022243628900981f92cc595cfefbf7f7b66f51a6.tar.gz tk-022243628900981f92cc595cfefbf7f7b66f51a6.tar.bz2 |
ttk::treeview('see' method): fix overscroll prevention [Bug 3530288]
Diffstat (limited to 'generic/ttk')
-rw-r--r-- | generic/ttk/ttkTreeview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c index 32dd183..1ed2742 100644 --- a/generic/ttk/ttkTreeview.c +++ b/generic/ttk/ttkTreeview.c @@ -2831,9 +2831,9 @@ static int TreeviewSeeCommand( TtkRedisplayWidget(&tv->core); } } + tv->tree.yscroll.total = CountRows(tv->tree.root) - 1; /* Make sure item is visible: - * @@@ DOUBLE-CHECK THIS: */ rowNumber = RowNumber(tv, item); if (rowNumber < tv->tree.yscroll.first) { |