def move(self, dst): """ Move the current item to the given destination. :type dst: str :rtype: None """ src = self.path() path = studiolibrary.movePath(src, dst) self.setPath(path)
def move(self, dst): """ Move the current item to the given destination. :type dst: str :rtype: None """ src = self.path() dst = studiolibrary.movePath(src, dst) self.setPath(dst) if self.database(): self.database().renamePath(src, dst)