]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
History: change context menu order
authortobtoht <thotbot@protonmail.com>
Fri, 22 Oct 2021 12:07:06 +0000 (14:07 +0200)
committertobtoht <thotbot@protonmail.com>
Fri, 22 Oct 2021 12:07:06 +0000 (14:07 +0200)
src/HistoryWidget.cpp

index a0852308570e4d735a466b491e2fb1bfc476c44d..beddccbda1101500c3f60a30a21238416f6bdef3 100644 (file)
@@ -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));
 }