add a first Button for a new HushChat Address on chattab
This commit is contained in:
@@ -1554,4 +1554,15 @@ MainWindow::~MainWindow()
|
||||
|
||||
delete wsserver;
|
||||
delete wormhole;
|
||||
}
|
||||
}
|
||||
void MainWindow::on_givemeZaddr_clicked()
|
||||
{
|
||||
|
||||
bool sapling = true;
|
||||
rpc->createNewZaddr(sapling, [=] (json reply) {
|
||||
QString hushchataddr = QString::fromStdString(reply.get<json::array_t>()[0]);
|
||||
QMessageBox::information(this, "Your new Hushchataddress",hushchataddr);
|
||||
// ui->listReceiveAddresses->insertItem(0, hushchataddr);
|
||||
// ui->listReceiveAddresses->setCurrentIndex(0);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user