aboutsummaryrefslogtreecommitdiff
path: root/src/qt/receivecoinsdialog.cpp
diff options
context:
space:
mode:
authorCozz Lovan <[email protected]>2014-01-18 00:01:14 +0100
committerCozz Lovan <[email protected]>2014-01-19 18:21:54 +0100
commit4d901023b732efb492d89cebd8555c689ab7663e (patch)
tree68956b053435bc164a33389ee3fb466f1b8e0cd1 /src/qt/receivecoinsdialog.cpp
parent[Qt] Permanently store requested payments in wallet (diff)
downloaddiscoin-4d901023b732efb492d89cebd8555c689ab7663e.tar.xz
discoin-4d901023b732efb492d89cebd8555c689ab7663e.zip
[Qt] Add sorting feature to the requested payments table
Diffstat (limited to 'src/qt/receivecoinsdialog.cpp')
-rw-r--r--src/qt/receivecoinsdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/receivecoinsdialog.cpp b/src/qt/receivecoinsdialog.cpp
index 075a16dab..38dc88f63 100644
--- a/src/qt/receivecoinsdialog.cpp
+++ b/src/qt/receivecoinsdialog.cpp
@@ -55,6 +55,8 @@ void ReceiveCoinsDialog::setModel(WalletModel *model)
ui->recentRequestsView->horizontalHeader()->setSectionResizeMode(RecentRequestsTableModel::Message, QHeaderView::Stretch);
#endif
ui->recentRequestsView->horizontalHeader()->resizeSection(RecentRequestsTableModel::Amount, 100);
+
+ model->getRecentRequestsTableModel()->sort(RecentRequestsTableModel::Date, Qt::DescendingOrder);
}
}