

def _pathChooserDialogue(self):
    dialogue = GafferUI.PathPlugValueWidget._pathChooserDialogue(self)
    dialogue.pathChooserWidget().pathListingWidget().setDisplayMode(GafferUI.PathListingWidget.DisplayMode.Tree)
    dialogue.pathChooserWidget().pathListingWidget().setColumns((GafferUI.PathListingWidget.defaultNameColumn,))
    dialogue.pathChooserWidget().pathListingWidget().setSortable(False)
    dirPath = dialogue.pathChooserWidget().directoryPathWidget().getPath()
    if len(dirPath):
        path = dialogue.pathChooserWidget().pathWidget().getPath()
        pathNames = path[:]
        del dirPath[:]
        path[:] = pathNames
    return dialogue

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferSceneUI/ScenePathPlugValueWidget.py ScenePathPlugValueWidget._pathChooserDialogue/original