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 | afe14eb43d4dbd139287219224cb177b9347838c (patch) | |
tree | 88ca10f6301a2812a0331651dd287e89aa9ca688 /generic | |
parent | 178102452144aacf3fcfef787f8db7dc588d9000 (diff) | |
parent | 011f3123c085bb3512cc68548ad9246b0a31debf (diff) | |
download | tk-afe14eb43d4dbd139287219224cb177b9347838c.zip tk-afe14eb43d4dbd139287219224cb177b9347838c.tar.gz tk-afe14eb43d4dbd139287219224cb177b9347838c.tar.bz2 |
ttk::treeview('see' method): fix overscroll prevention [Bug 3530288]
Diffstat (limited to 'generic')
-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) { |