aboutsummaryrefslogtreecommitdiff
path: root/src/qt/receivecoinsdialog.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-07-21 21:29:09 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-07-21 21:29:09 +0300
commit4ec49f8d1e25b330e6a0f79ae897d98d29ff32f9 (patch)
tree18047a0ecd63c9fbe1288821f9b8d071c911f44c /src/qt/receivecoinsdialog.h
parent4227a8e1f3a4f94a5a4cb7adeecf967e14156bde (diff)
downloadbitcoin-4ec49f8d1e25b330e6a0f79ae897d98d29ff32f9.tar.xz
qt: Leverage the default "Create new receiving address" button
When Enter or Return is pressed the default button will be always clicked. All buttons can always be clicked from the keyboard by pressing spacebar when the button has focus.
Diffstat (limited to 'src/qt/receivecoinsdialog.h')
-rw-r--r--src/qt/receivecoinsdialog.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qt/receivecoinsdialog.h b/src/qt/receivecoinsdialog.h
index 2f48cd58f0..27455e2906 100644
--- a/src/qt/receivecoinsdialog.h
+++ b/src/qt/receivecoinsdialog.h
@@ -49,9 +49,6 @@ public Q_SLOTS:
void reject() override;
void accept() override;
-protected:
- virtual void keyPressEvent(QKeyEvent *event) override;
-
private:
Ui::ReceiveCoinsDialog *ui;
GUIUtil::TableViewLastColumnResizingFixer *columnResizingFixer;