def select_new_paths(self):
        """Select new path(s) from the file manager.

        If no path is returned, the widget isn't updated.
        """
        ### retrieve path(s) from file browser
        paths = select_paths(caption="Select path(s)")

        ### if no paths are selected, return
        if not paths:
            return

        ### finally set the new path(s)

        paths = tuple(str(path) for path in paths)

        if len(paths) == 1 and self.string_when_single:
            self.set(paths[0])

        else:
            self.set(paths)
Select new path(s) from the file manager.

        If no path is returned, the widget isn't updated.
        
nodezator/widget/pathpreview/base.py