code: def restore_scrollbar_positions(self):
          
          hor, ver = self._scrollbar_positions
          self.horizontalScrollBar().setValue(hor)
          self.verticalScrollBar().setValue(ver)
docs: Restore scrollbar positions once tree is loaded