summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobwidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobwidget.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobwidget.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index 65de9df78f..3ca9066227 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -521,7 +521,8 @@ class HobNotebook(gtk.Notebook):
521 for child in self.pages: 521 for child in self.pages:
522 if child.lbl.get_label() == title: 522 if child.lbl.get_label() == title:
523 child.grab_focus() 523 child.grab_focus()
524 self.set_current_page(self.page_num(child)) 524 self.set_current_page(self.pages.index(child))
525 return
525 526
526class HobWarpCellRendererText(gtk.CellRendererText): 527class HobWarpCellRendererText(gtk.CellRendererText):
527 def __init__(self, col_number): 528 def __init__(self, col_number):