aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2021-06-14 07:07:42 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2021-06-14 07:08:04 +0000
commite4c916a0ea0637f4a765b1cb57ee10abef6fb4d6 (patch)
treebc28173d69c6964205a5a4154d128c8649a66f48
parent94e7cdd7e04ca79f89474df1400e1a189e068939 (diff)
Bugfix: GUI: Use a different shortcut for "1 d&ay" banning, due to conflict with "&Disconnect"
-rw-r--r--src/qt/rpcconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 4bc18a2c94..ff4bfb16f6 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -677,7 +677,7 @@ void RPCConsole::setClientModel(ClientModel *model, int bestblock_height, int64_
peersTableContextMenu = new QMenu(this);
peersTableContextMenu->addAction(tr("&Disconnect"), this, &RPCConsole::disconnectSelectedNode);
peersTableContextMenu->addAction(ts.ban_for + " " + tr("1 &hour"), [this] { banSelectedNode(60 * 60); });
- peersTableContextMenu->addAction(ts.ban_for + " " + tr("1 &day"), [this] { banSelectedNode(60 * 60 * 24); });
+ peersTableContextMenu->addAction(ts.ban_for + " " + tr("1 d&ay"), [this] { banSelectedNode(60 * 60 * 24); });
peersTableContextMenu->addAction(ts.ban_for + " " + tr("1 &week"), [this] { banSelectedNode(60 * 60 * 24 * 7); });
peersTableContextMenu->addAction(ts.ban_for + " " + tr("1 &year"), [this] { banSelectedNode(60 * 60 * 24 * 365); });
connect(ui->peerWidget, &QTableView::customContextMenuRequested, this, &RPCConsole::showPeersTableContextMenu);