Skip to content

Commit db40876

Browse files
committed
qml: Initialize total amount in CoinsListModel
1 parent 12aa84c commit db40876

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qml/models/coinslistmodel.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
#include <qt/bitcoinunits.h>
1313
#include <vector>
1414

15+
1516
CoinsListModel::CoinsListModel(WalletQmlModel* parent)
16-
: QAbstractListModel(parent), m_wallet_model(parent)
17+
: QAbstractListModel(parent), m_wallet_model(parent), m_sort_by("amount"), m_total_amount(0)
1718
{
1819
}
1920

0 commit comments

Comments
 (0)