mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
More stupid PyQt enums
This commit is contained in:
parent
430991d56b
commit
b984d72958
@ -174,8 +174,8 @@ class SendEmail(QWidget, Ui_Form):
|
||||
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…
x
Reference in New Issue
Block a user