def _select_prev(self):
        selection = self.list.curselection()
        if selection is not None and len(selection) > 0:
            index = int(selection[0])-1
            self.list.activate(index)
            self.list.see(index)
            self.list.selection_clear(0, "end")
            self.list.selection_set("active")
dataset/ETHPy150Open boakley/robotframework-workbench/rwb/widgets/dte.py/DynamicTableEditor._select_prev/original