def copy(self):
        """Copy the selected items to a file based on the description."""
        self.accept()

        file_source = self.source_chooser.currentWidget().get_source()

        # Save the items to target.
        utils.save_items_to_source(file_source, self.parent_node, self.items)
    def copy(self):
        """Copy the selected items to a file based on the description."""
        self.accept()

        file_source = self.source_chooser.currentWidget().get_source()

        # Save the items to target.
        utils.save_items_to_source(file_source, self.parent_node, self.items)