-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QPushButton clicked slot now passes checked
It didn't used to do this; it must be a recent change in PyQt. Fixes #7
- Loading branch information
Neil Booth
committed
Jan 11, 2019
1 parent
6bdad85
commit 410ef3c
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
410ef3c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it works in Electrum due to difference between partial and lambda?
https://github.com/spesmilo/electrum/blob/0caf8e30cd70848baf9c83bfc52fb3063df91386/electrum/gui/qt/main_window.py#L2299
410ef3c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps, but what pray apart from arbitrary spelling are those differences? Seems fragile.
410ef3c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test_partial()
returns13
, buttest_lambda()
raises a TypeError.