It's most likely your lambda definition that is causing this confusion. The signal is correct and that boolean is coming from the signal's standard parameter. Have a look at : http://doc.qt.io/qt-5/qabstractbutton.html#clicked
As far as I remember your button parameter will be overwritten with that boolean, so you should rather do something like this:
Qt Code:
ui.cmdOpen.clicked.connect(lambda state, button=ui.cmdOpen:displayOrder(button))To copy to clipboard, switch view to plain text mode
Bookmarks