Browse Source

Merge pull request #71 from MyHush/denio

opy Blockexplorer Link, bump version
pull/83/head
Denio 4 years ago
committed by GitHub
parent
commit
46e17a2f64
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      src/mainwindow.cpp
  2. 2
      src/version.h

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

2
src/version.h

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

Loading…
Cancel
Save