def _last_index(self, s):
        self.set_index(max(0, self._find_one_after_last_labeled_index() - 1))
def on_select_row(self, treeview=None):
        """When a row is selected, displays the corresponding editing panel

        @var treeview: not used
        """
        self.dialog.on_backend_selected(self.get_selected_backend_id())