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 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) {