aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-10 20:49:50 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-10 20:49:50 +0200
commita777f7b9b5225f4fe753ce149fe0dc3c9c52f999 (patch)
tree37d81cb941adaa1b5310fe7b13d6fbf031606f77
parentc30075142f72058bd55d96057377e31a96e32b79 (diff)
show transaction details on doubleclick
-rw-r--r--gui/include/transactiontablemodel.h2
-rw-r--r--gui/src/bitcoingui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/include/transactiontablemodel.h b/gui/include/transactiontablemodel.h
index 47e4e4cf14..5974c0e7fe 100644
--- a/gui/include/transactiontablemodel.h
+++ b/gui/include/transactiontablemodel.h
@@ -37,7 +37,7 @@ public:
QVariant data(const QModelIndex &index, int role) const;
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
Qt::ItemFlags flags(const QModelIndex &index) const;
- QModelIndex index ( int row, int column, const QModelIndex & parent = QModelIndex() ) const;
+ QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex()) const;
private:
QStringList columns;
TransactionTablePriv *priv;
diff --git a/gui/src/bitcoingui.cpp b/gui/src/bitcoingui.cpp
index c92a546ea4..51dcf87dc8 100644
--- a/gui/src/bitcoingui.cpp
+++ b/gui/src/bitcoingui.cpp
@@ -214,7 +214,7 @@ QWidget *BitcoinGUI::createTabs()
QTableView *view = new QTableView(this);
tabs->addTab(view, tab_labels.at(i));
- connect(view, SIGNAL(activated(const QModelIndex&)), this, SLOT(transactionDetails(const QModelIndex&)));
+ connect(view, SIGNAL(doubleClicked(const QModelIndex&)), this, SLOT(transactionDetails(const QModelIndex&)));
transactionViews.append(view);
}