@ -585,7 +585,8 @@ class ElectrumWindow(QMainWindow):
self . receive_address_e = ButtonsLineEdit ( )
self . receive_address_e = ButtonsLineEdit ( )
self . receive_address_e . addCopyButton ( self . app )
self . receive_address_e . addCopyButton ( self . app )
self . receive_address_e . setReadOnly ( True )
self . receive_address_e . setReadOnly ( True )
self . receive_address_label = QLabel ( _ ( ' Receiving address ' ) )
msg = _ ( ' Bitcoin address where the payment should be received ' )
self . receive_address_label = HelpLabel ( _ ( ' Receiving address ' ) , msg )
self . receive_address_e . textChanged . connect ( self . update_receive_qr )
self . receive_address_e . textChanged . connect ( self . update_receive_qr )
self . receive_address_e . setFocusPolicy ( Qt . NoFocus )
self . receive_address_e . setFocusPolicy ( Qt . NoFocus )
grid . addWidget ( self . receive_address_label , 0 , 0 )
grid . addWidget ( self . receive_address_label , 0 , 0 )
@ -604,7 +605,8 @@ class ElectrumWindow(QMainWindow):
self . expires_combo = QComboBox ( )
self . expires_combo = QComboBox ( )
self . expires_combo . addItems ( map ( lambda x : x [ 0 ] , expiration_values ) )
self . expires_combo . addItems ( map ( lambda x : x [ 0 ] , expiration_values ) )
self . expires_combo . setCurrentIndex ( 1 )
self . expires_combo . setCurrentIndex ( 1 )
grid . addWidget ( QLabel ( _ ( ' Expires in ' ) ) , 3 , 0 )
msg = _ ( ' Expiration date of your request. This information is not included in the Bitcoin address nor in the QR code; the recipient will see it only if you send them a complete request. ' )
grid . addWidget ( HelpLabel ( _ ( ' Expires in ' ) , msg ) , 3 , 0 )
grid . addWidget ( self . expires_combo , 3 , 1 )
grid . addWidget ( self . expires_combo , 3 , 1 )
self . expires_label = QLineEdit ( ' ' )
self . expires_label = QLineEdit ( ' ' )
self . expires_label . setReadOnly ( 1 )
self . expires_label . setReadOnly ( 1 )