mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-28 00:23:44 +01:00
Merge pull request #2645
66f6b95
Account: update balance card label (selsta)
This commit is contained in:
commit
6f53cc4dda
@ -54,7 +54,7 @@ Rectangle {
|
||||
function renameSubaddressAccountLabel(_index){
|
||||
inputDialog.labelText = qsTr("Set the label of the selected account:") + translationManager.emptyString;
|
||||
inputDialog.onAcceptedCallback = function() {
|
||||
appWindow.currentWallet.subaddressAccount.setLabel(_index, inputDialog.inputText)
|
||||
appWindow.currentWallet.setSubaddressLabel(_index, 0, inputDialog.inputText)
|
||||
}
|
||||
inputDialog.onRejectedCallback = null;
|
||||
inputDialog.open(appWindow.currentWallet.getSubaddressLabel(_index, 0))
|
||||
|
@ -361,6 +361,7 @@ QString Wallet::getSubaddressLabel(quint32 accountIndex, quint32 addressIndex) c
|
||||
void Wallet::setSubaddressLabel(quint32 accountIndex, quint32 addressIndex, const QString &label)
|
||||
{
|
||||
m_walletImpl->setSubaddressLabel(accountIndex, addressIndex, label.toStdString());
|
||||
emit currentSubaddressAccountChanged();
|
||||
}
|
||||
void Wallet::deviceShowAddressAsync(quint32 accountIndex, quint32 addressIndex, const QString &paymentId)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user