def copy(self, dst): """ Make a copy/duplicate the current item to the given destination. :type dst: str :rtype: None """ src = self.path() path = studiolibrary.copyPath(src, dst) self.setPath(path)
def copy(self, dst): """ Make a copy/duplicate the current item to the given destination. :type dst: str :rtype: None """ src = self.path() dst = studiolibrary.copyPath(src, dst) if self.library(): self.library().copyPath(src, dst) self.copied.emit(self, src, dst)
def copy(self, dst): """ Make a copy/duplicate the current item to the given destination. :type dst: str :rtype: None """ src = self.path() dst = studiolibrary.copyPath(src, dst) if self.library(): self.library().copyPath(src, dst) self.copied.emit(self, src, dst) if self.libraryWindow(): self.libraryWindow().refresh()