'Selected item was double-clicked or enter/return was pressed'

@Slot()
def clicked(self):

    fnames = self.get_selected_filenames()
    for fname in fnames:
        if osp.isdir(fname):
            self.directory_clicked(fname)
        else:
            self.open([fname])
