mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
History: change context menu order
This commit is contained in:
parent
ecfef8c6cf
commit
d1ae7b77e8
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ HistoryWidget::HistoryWidget(QSharedPointer<AppContext> ctx, QWidget *parent)
|
|||
|
||||
// copy menu
|
||||
m_copyMenu->addAction("Transaction ID", this, [this]{copy(copyField::TxID);});
|
||||
m_copyMenu->addAction("Description", this, [this]{copy(copyField::Description);});
|
||||
m_copyMenu->addAction("Date", this, [this]{copy(copyField::Date);});
|
||||
m_copyMenu->addAction("Description", this, [this]{copy(copyField::Description);});
|
||||
m_copyMenu->addAction("Amount", this, [this]{copy(copyField::Amount);});
|
||||
|
||||
ui->history->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
|
@ -88,7 +88,7 @@ void HistoryWidget::showContextMenu(const QPoint &point) {
|
|||
menu.addMenu(m_copyMenu);
|
||||
menu.addAction("Show details", this, &HistoryWidget::showTxDetails);
|
||||
menu.addAction("View on block explorer", this, &HistoryWidget::onViewOnBlockExplorer);
|
||||
menu.addAction("Create tx proof", this, &HistoryWidget::createTxProof);
|
||||
menu.addAction("Create Tx Proof", this, &HistoryWidget::createTxProof);
|
||||
|
||||
menu.exec(ui->history->viewport()->mapToGlobal(point));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue