Skip to content

Commit 9b63c43

Browse files
author
MarcoFalke
committed
Merge #15203: Fix issue #9683 "gui, wallet: random abort (segmentation fault)
364cff1 Fix issue #9683 "gui, wallet: random abort (segmentation fault) running master/HEAD". (Chris Moore) Pull request description: Patch taken from @ryanofsky's comment bitcoin/bitcoin#9683 (comment). [MarcoFalke wrote](bitcoin/bitcoin#9683 (comment)): > Mind to submit this patch as a pull request? So that's what I'm doing. I was regularly seeing crashes on startup before applying this patch and haven't seen a single crash on startup since applying it almost a month ago. Tree-SHA512: 3bbb2291cdf03ab7e7b5b796df68d76272491e35d473a89f4550065554c092f867659a7b8d7a1a91461ae4dc9a3b13b72541eafdbd732536463e9f3cf82300c8
2 parents 30e799a + 364cff1 commit 9b63c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/transactionview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ void TransactionView::setModel(WalletModel *_model)
229229
transactionView->setAlternatingRowColors(true);
230230
transactionView->setSelectionBehavior(QAbstractItemView::SelectRows);
231231
transactionView->setSelectionMode(QAbstractItemView::ExtendedSelection);
232+
transactionView->horizontalHeader()->setSortIndicator(TransactionTableModel::Date, Qt::DescendingOrder);
232233
transactionView->setSortingEnabled(true);
233-
transactionView->sortByColumn(TransactionTableModel::Date, Qt::DescendingOrder);
234234
transactionView->verticalHeader()->hide();
235235

236236
transactionView->setColumnWidth(TransactionTableModel::Status, STATUS_COLUMN_WIDTH);

0 commit comments

Comments
 (0)