Browse Source

support old project

cl-refactor
yann300 10 years ago
parent
commit
e44079cd9e
  1. 2
      mix/qml/StateListModel.qml

2
mix/qml/StateListModel.qml

@ -13,6 +13,8 @@ Item {
property var stateList: [] property var stateList: []
function fromPlainStateItem(s) { function fromPlainStateItem(s) {
if (!s.accounts)
s.accounts = [stateListModel.newAccount("1000000", QEther.Ether)]; //support old project
return { return {
title: s.title, title: s.title,
transactions: s.transactions.map(fromPlainTransactionItem), transactions: s.transactions.map(fromPlainTransactionItem),

Loading…
Cancel
Save