diff options
author | jenglish <jenglish@flightlab.com> | 2012-07-02 18:22:26 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2012-07-02 18:22:26 (GMT) |
commit | 011f3123c085bb3512cc68548ad9246b0a31debf (patch) | |
tree | 6c563d4f8dbac2eb518bc8294e8e2e84f7bb69ef /generic | |
parent | 6ade6907c8825551da330908c6dec95a6de68cfc (diff) | |
download | tk-011f3123c085bb3512cc68548ad9246b0a31debf.zip tk-011f3123c085bb3512cc68548ad9246b0a31debf.tar.gz tk-011f3123c085bb3512cc68548ad9246b0a31debf.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 6b9042f..862c7f6 100644 --- a/generic/ttk/ttkTreeview.c +++ b/generic/ttk/ttkTreeview.c @@ -2832,9 +2832,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) { |