Merge pull request #71 from MyHush/denio

opy Blockexplorer Link, bump version
This commit is contained in:
Denio
2020-01-05 17:29:43 +01:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@@ -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);

View File

@@ -1 +1 @@
#define APP_VERSION "1.1.4"
#define APP_VERSION "1.2.0"