1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-21 03:45:53 +01:00

Fix Receive.qml:388: Error: Insufficient arguments

This commit is contained in:
mmbyday 2018-12-01 20:13:31 +02:00
parent 45781ab4a1
commit 6c60b37e63

View File

@ -385,7 +385,7 @@ Rectangle {
inputDialog.inputText = qsTr("(Untitled)")
inputDialog.onAcceptedCallback = function() {
appWindow.currentWallet.subaddress.addRow(appWindow.currentWallet.currentSubaddressAccount, inputDialog.inputText)
current_subaddress_table_index = appWindow.currentWallet.numSubaddresses() - 1
current_subaddress_table_index = appWindow.currentWallet.numSubaddresses(appWindow.currentWallet.currentSubaddressAccount) - 1
}
inputDialog.onRejectedCallback = null;
inputDialog.open()