History: display blockheight, sort by blockheight

This commit is contained in:
Ilya Kitaev
2016-10-11 01:28:06 +03:00
parent b1454c6a13
commit f8f94e048b
3 changed files with 62 additions and 28 deletions

View File

@@ -370,6 +370,7 @@ Rectangle {
ListElement { columnName: "Payment ID"; columnWidth: 127 }
ListElement { columnName: "Date"; columnWidth: 100 }
ListElement { columnName: "BlockHeight"; columnWidth: 150 }
ListElement { columnName: "Amount"; columnWidth: 148 }
// ListElement { columnName: "Description"; columnWidth: 148 }
}
@@ -396,6 +397,10 @@ Rectangle {
model.sortRole = TransactionHistoryModel.TransactionDateRole
break;
case 2:
// BlockHeight;
model.sortRole = TransactionHistoryModel.TransactionBlockHeightRole
break;
case 3:
// Amount;
model.sortRole = TransactionHistoryModel.TransactionAmountRole
break;