--- old/ffgo/gui/widgets.py +++ new/ffgo/gui/widgets.py @@ -110,7 +110,10 @@ self.FFGoGotoItemWithIndex(targetIdx, treeItems=treeItems) def FFGoGotoItem(self, item): - self.selection(selop="set", items=(item,)) + try: + self.selection(selop="set", items=(item,)) + except TypeError: + self._selection(selop="set", items=(item,)) self.see(item) def FFGoGotoItemWithIndex(self, index, treeItems=None): @@ -118,7 +121,10 @@ treeItems = self.get_children() targetItem = treeItems[index] - self.selection(selop="set", items=(targetItem,)) + try: + self.selection(selop="set", items=(targetItem,)) + except TypeError: + self._selection(selop="set", items=(targetItem,)) self.see(targetItem) def FFGoGotoItemWithValue(self, column, value):