mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-02 20:06:31 +01:00
More stupid PyQt enums
This commit is contained in:
parent
430991d56b
commit
b984d72958
1 changed files with 2 additions and 2 deletions
|
|
@ -174,8 +174,8 @@ def initialize(self, preferred_to_address):
|
|||
button.clicked.connect(partial(self.create_service_relay, x))
|
||||
self.relay_show_password.stateChanged.connect(
|
||||
lambda state : self.relay_password.setEchoMode(
|
||||
self.relay_password.Password if
|
||||
state == 0 else self.relay_password.Normal))
|
||||
QLineEdit.EchoMode.Password if
|
||||
state == 0 else QLineEdit.EchoMode.Normal))
|
||||
self.test_email_button.clicked.connect(self.test_email)
|
||||
|
||||
def changed(self, *args):
|
||||
|
|
|
|||
Loading…
Reference in a new issue