def load_selected(self):
        """Load single selected path.

        Note that the call to the change_current_dir method
        only has effect if the path is a directory and
        exists.
        """
        ### don't proceed if number of selected paths isn't
        ### one
        if sum(self.selection_states) != 1:
            return

        ### otherwise retrieve the selected path and load it

        index = self.selection_states.index(True)
        selected_path = self.selectable_paths[index]

        self.change_current_dir(selected_path)
Load single selected path.

        Note that the call to the change_current_dir method
        only has effect if the path is a directory and
        exists.
        
nodezator/fileman/dirpanel/loadop.py