def paste(self): """Paste the selected files into the scene.""" self.accept() to_load = self.source_chooser.currentWidget().get_sources() utils.paste_items_from_sources(to_load, self.editor, self.pos, self.mousepos)