Skip to content

getfile error #86

@nfr25

Description

@nfr25

I'm using PySide, python 2.7, 32 bit on windows.
I get an error in getfile of FileLayout because the return value of QfileDialog.getOpenFileName is a tuple.
I've added the following test

       if name:
            if type(name) is tuple:
                name = name[0]
            self.lineedit.setText(name)

I also propose to replace the 'Browse' button in FileLayout, like this 👍

    self.filebtn = QPushButton('...')
    self.filebtn.setFixedSize(20, 20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions