create and add cid to Addressbook

This commit is contained in:
DenioD
2020-04-29 16:58:33 +02:00
parent 17cc83ab7b
commit dd48ab87eb
6 changed files with 72 additions and 29 deletions

View File

@@ -1296,7 +1296,7 @@ void MainWindow::setupReceiveTab() {
if (!curLabel.isEmpty() && label.isEmpty()) {
info = "Removed Label '" % curLabel % "'";
AddressBook::getInstance()->removeAddressLabel(curLabel, addr, "");
AddressBook::getInstance()->removeAddressLabel(curLabel, addr, "", "");
}
else if (!curLabel.isEmpty() && !label.isEmpty()) {
info = "Updated Label '" % curLabel % "' to '" % label % "'";
@@ -1304,7 +1304,7 @@ void MainWindow::setupReceiveTab() {
}
else if (curLabel.isEmpty() && !label.isEmpty()) {
info = "Added Label '" % label % "'";
AddressBook::getInstance()->addAddressLabel(label, addr, "");
AddressBook::getInstance()->addAddressLabel(label, addr, "", "");
}
// Update labels everywhere on the UI