mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 23:07:25 -04:00
Replaced Loader with StackView; Fixed payment id generation
This commit is contained in:
@@ -43,14 +43,13 @@ Rectangle {
|
||||
|
||||
function updatePaymentId() {
|
||||
var payment_id = appWindow.persistentSettings.payment_id
|
||||
if (payment_id.length === 0) {
|
||||
payment_id = appWindow.wallet.generatePaymentId()
|
||||
if (typeof appWindow.currentWallet !== 'undefined') {
|
||||
payment_id = appWindow.currentWallet.generatePaymentId()
|
||||
appWindow.persistentSettings.payment_id = payment_id
|
||||
appWindow.currentWallet.payment_id = payment_id
|
||||
addressLine.text = appWindow.currentWallet.address
|
||||
integratedAddressLine.text = appWindow.currentWallet.integratedAddress(payment_id)
|
||||
}
|
||||
paymentIdLine.text = payment_id
|
||||
addressLine.text = appWindow.currentWallet.address
|
||||
integratedAddressLine.text = appWindow.currentWallet.integratedAddress(payment_id)
|
||||
}
|
||||
|
||||
Clipboard { id: clipboard }
|
||||
|
||||
Reference in New Issue
Block a user