Skip to content

Commit

Permalink
Fix issue #9683 "gui, wallet: random abort (segmentation fault) runni…
Browse files Browse the repository at this point in the history
…ng master/HEAD".

Patch taken from @ryanofsky's comment
  bitcoin/bitcoin#9683 (comment)
and refined according to
  bitcoin/bitcoin#15203 (comment)
  • Loading branch information
dooglus committed Feb 5, 2019
1 parent 452acee commit 364cff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/transactionview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ void TransactionView::setModel(WalletModel *_model)
transactionView->setAlternatingRowColors(true);
transactionView->setSelectionBehavior(QAbstractItemView::SelectRows);
transactionView->setSelectionMode(QAbstractItemView::ExtendedSelection);
transactionView->horizontalHeader()->setSortIndicator(TransactionTableModel::Date, Qt::DescendingOrder);
transactionView->setSortingEnabled(true);
transactionView->sortByColumn(TransactionTableModel::Date, Qt::DescendingOrder);
transactionView->verticalHeader()->hide();

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

0 comments on commit 364cff1

Please sign in to comment.