Skip to content

Commit c31ac8c

Browse files
committed
qml: Initialize total amount in CoinsListModel
1 parent a0ee146 commit c31ac8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qml/models/coinslistmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <vector>
1414

1515
CoinsListModel::CoinsListModel(WalletQmlModel* parent)
16-
: QAbstractListModel(parent), m_wallet_model(parent)
16+
: QAbstractListModel(parent), m_wallet_model(parent), m_sort_by("amount"), m_total_amount(0)
1717
{
1818
}
1919

0 commit comments

Comments
 (0)