diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 32e3b2e..f6cca77 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -383,6 +383,11 @@ void MainWindow::setupStatusBar() { menu.addAction(tr("Copy txid"), [=]() { QGuiApplication::clipboard()->setText(txid); }); + menu.addAction(tr("Copy block explorer link"), [=]() { + // auto explorer = Settings::getInstance()->getExplorer(); + QGuiApplication::clipboard()->setText("https://explorer.myhush.org/tx/" + txid); + }); + menu.addAction(tr("View tx on block explorer"), [=]() { Settings::openTxInExplorer(txid); }); @@ -919,6 +924,10 @@ void MainWindow::setupTransactionsTab() { ui->statusBar->showMessage(tr("Copied to clipboard"), 3 * 1000); }); } + menu.addAction(tr("Copy block explorer link"), [=]() { + // auto explorer = Settings::getInstance()->getExplorer(); + QGuiApplication::clipboard()->setText("https://explorer.myhush.org/tx/" + txid); + }); menu.addAction(tr("View on block explorer"), [=] () { Settings::openTxInExplorer(txid); diff --git a/src/version.h b/src/version.h index c2a9826..a0701a7 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define APP_VERSION "1.1.4" +#define APP_VERSION "1.2.0"