diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-30 21:34:00 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-30 21:34:00 +0200 |
commit | c60015a26095ecf2e3a5fb6e04f8c1b6d31acad2 (patch) | |
tree | f6836aa5a312771f593edd0c34984e14249ef1db /src | |
parent | 64f125f3539cf7faf6a1a259181299225072f0fe (diff) |
Fix detailed transaction information on doubleclick
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/transactionview.cpp | 2 | ||||
-rw-r--r-- | src/qt/transactionview.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index bf7d55d7db..6b314f4f14 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -84,6 +84,8 @@ TransactionView::TransactionView(QWidget *parent) : connect(typeWidget, SIGNAL(activated(int)), this, SLOT(chooseType(int))); connect(addressWidget, SIGNAL(textChanged(const QString&)), this, SLOT(changedPrefix(const QString&))); connect(amountWidget, SIGNAL(textChanged(const QString&)), this, SLOT(changedAmount(const QString&))); + + connect(view, SIGNAL(doubleClicked(const QModelIndex&)), this, SIGNAL(doubleClicked(const QModelIndex&))); } void TransactionView::setModel(TransactionTableModel *model) diff --git a/src/qt/transactionview.h b/src/qt/transactionview.h index e75dcc2593..96cdf9779c 100644 --- a/src/qt/transactionview.h +++ b/src/qt/transactionview.h @@ -10,6 +10,7 @@ QT_BEGIN_NAMESPACE class QTableView; class QComboBox; class QLineEdit; +class QModelIndex; QT_END_NAMESPACE class TransactionView : public QWidget @@ -41,6 +42,7 @@ private: QLineEdit *amountWidget; signals: + void doubleClicked(const QModelIndex&); public slots: void chooseDate(int idx); |