Пример #1
0
    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)
Пример #2
0
    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)