update// added chatmessages to chatwindow
This commit is contained in:
@@ -900,7 +900,6 @@ void MainWindow::setupTransactionsTab() {
|
||||
|
||||
// Set up context menu on transactions tab
|
||||
ui->transactionsTable->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
|
||||
// Table right click
|
||||
QObject::connect(ui->transactionsTable, &QTableView::customContextMenuRequested, [=] (QPoint pos) {
|
||||
QModelIndex index = ui->transactionsTable->indexAt(pos);
|
||||
@@ -983,6 +982,12 @@ void MainWindow::setupTransactionsTab() {
|
||||
});
|
||||
}
|
||||
|
||||
void MainWindow::updateChat()
|
||||
{
|
||||
qDebug() << "Called MainWindow::updateChat()";
|
||||
rpc->refreshChat(ui->listChatMemo);
|
||||
}
|
||||
|
||||
void MainWindow::addNewZaddr(bool sapling) {
|
||||
rpc->createNewZaddr(sapling, [=] (json reply) {
|
||||
QString addr = QString::fromStdString(reply.get<json::array_t>()[0]);
|
||||
|
||||
Reference in New Issue
Block a user