Browse Source

Fix detailed transaction information on doubleclick

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
c60015a260
  1. 2
      src/qt/transactionview.cpp
  2. 2
      src/qt/transactionview.h

2
src/qt/transactionview.cpp

@ -84,6 +84,8 @@ TransactionView::TransactionView(QWidget *parent) : @@ -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)

2
src/qt/transactionview.h

@ -10,6 +10,7 @@ QT_BEGIN_NAMESPACE @@ -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: @@ -41,6 +42,7 @@ private:
QLineEdit *amountWidget;
signals:
void doubleClicked(const QModelIndex&);
public slots:
void chooseDate(int idx);

Loading…
Cancel
Save