code: def restore(self):
          
          if self.current_editor is not None:
              self.collapseAll()
              editor_id = self.editor_ids[self.current_editor]
              self.root_item_selected(self.editor_items[editor_id])
docs: Reimplemented OneColumnTree method