summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTreeview.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/ttk/ttkTreeview.c')
-rw-r--r--generic/ttk/ttkTreeview.c2
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) {