mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
GUI: TransactionRecord: When time/index/etc match, sort send before receive
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <core_io.h>
|
||||
#include <interfaces/handler.h>
|
||||
#include <tinyformat.h>
|
||||
#include <uint256.h>
|
||||
|
||||
#include <algorithm>
|
||||
@@ -557,7 +558,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
|
||||
case Status:
|
||||
return QString::fromStdString(rec->status.sortKey);
|
||||
case Date:
|
||||
return rec->time;
|
||||
return QString::fromStdString(strprintf("%020s-%s", rec->time, rec->status.sortKey));
|
||||
case Type:
|
||||
return formatTxType(rec);
|
||||
case Watchonly:
|
||||
|
||||
Reference in New Issue
Block a user