mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-27 08:58:36 +01:00
History: sorting by blockheight instead of timestamp
This commit is contained in:
parent
c89c25c8ed
commit
10348af88a
@ -75,10 +75,10 @@ Rectangle {
|
||||
/* Default sorting by timestamp desc */
|
||||
/* Sort indicator on table header */
|
||||
/* index of 'sort by blockheight' column */
|
||||
header.activeSortColumn = 1
|
||||
header.activeSortColumn = 2
|
||||
/* Sorting model */
|
||||
|
||||
model.sortRole = TransactionHistoryModel.TransactionTimeStampRole
|
||||
model.sortRole = TransactionHistoryModel.TransactionBlockHeightRole
|
||||
model.sort(0, Qt.DescendingOrder);
|
||||
d.initialized = true
|
||||
// TODO: public interface for 'Header' item that will cause 'sortRequest' signal
|
||||
|
Loading…
Reference in New Issue
Block a user