diff options
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builddetailspage.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py index 1440039c3e..aee258a6fc 100755 --- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py | |||
@@ -172,6 +172,7 @@ class BuildDetailsPage (HobPage): | |||
172 | 172 | ||
173 | def reset_build_status(self): | 173 | def reset_build_status(self): |
174 | self.task_status.set_markup("\n") # to ensure layout is correct | 174 | self.task_status.set_markup("\n") # to ensure layout is correct |
175 | self.endpath = (0,) | ||
175 | 176 | ||
176 | def show_issues(self): | 177 | def show_issues(self): |
177 | self.num_of_issues += 1 | 178 | self.num_of_issues += 1 |
@@ -234,7 +235,8 @@ class BuildDetailsPage (HobPage): | |||
234 | if treeview and v_adj: | 235 | if treeview and v_adj: |
235 | if path[0] > self.endpath[0]: # check the event is a new row append or not | 236 | if path[0] > self.endpath[0]: # check the event is a new row append or not |
236 | self.endpath = path | 237 | self.endpath = path |
237 | if v_adj.value == (v_adj.upper - v_adj.page_size): # check the gtk.adjustment position is at end boundary or not | 238 | # check the gtk.adjustment position is at end boundary or not |
239 | if (v_adj.upper <= v_adj.page_size) or (v_adj.value == v_adj.upper - v_adj.page_size): | ||
238 | treeview.scroll_to_cell(path) | 240 | treeview.scroll_to_cell(path) |
239 | 241 | ||
240 | def show_configurations(self, configurations, params): | 242 | def show_configurations(self, configurations, params): |