diff options
author | Haakon Nilsen <haakonn@gmail.com> | 2014-03-15 00:41:23 +0100 |
---|---|---|
committer | Haakon Nilsen <haakonn@gmail.com> | 2014-03-15 00:41:23 +0100 |
commit | caee92dfa85ac7ddcf2749852af711ec53b38d08 (patch) | |
tree | dd20bd4e38796ffc7bc4edd05260443d0f8feccc /src/qt/receivecoinsdialog.h | |
parent | a78eed26c59ce30b1395e92db2f033121f2af179 (diff) |
qt: Enable and disable the Show and Remove buttons for requested payments history
based on whether any entry is selected.
Diffstat (limited to 'src/qt/receivecoinsdialog.h')
-rw-r--r-- | src/qt/receivecoinsdialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/receivecoinsdialog.h b/src/qt/receivecoinsdialog.h index 12d2235782..bfe8b3401f 100644 --- a/src/qt/receivecoinsdialog.h +++ b/src/qt/receivecoinsdialog.h @@ -10,6 +10,7 @@ #include <QMenu> #include <QPoint> #include <QVariant> +#include <QItemSelection> namespace Ui { class ReceiveCoinsDialog; @@ -51,6 +52,7 @@ private slots: void on_showRequestButton_clicked(); void on_removeRequestButton_clicked(); void on_recentRequestsView_doubleClicked(const QModelIndex &index); + void on_recentRequestsView_selectionChanged(const QItemSelection &, const QItemSelection &); void updateDisplayUnit(); void showMenu(const QPoint &); void copyLabel(); |