Skip to content
Snippets Groups Projects
Commit 1f4ebb1e authored by jonymt's avatar jonymt
Browse files

[*] connected to model of wallets

parent 57294123
No related branches found
No related tags found
1 merge request!21Features 2410
Pipeline #899 passed with stage
in 2 minutes and 58 seconds
......@@ -28,8 +28,8 @@ Rectangle {
anchors.leftMargin: 30 * pt
anchors.topMargin: 10 * pt
anchors.bottomMargin: 10 * pt
// model: dapChainWalletsModel
model: testModel
model: dapChainWalletsModel
// model: testModel
textRole: "name"
indicator: Image {
......@@ -42,7 +42,7 @@ Rectangle {
}
onCurrentIndexChanged: {
fieldWalletBalance.text = testModel.get(currentIndex).balance;
fieldWalletBalance.text = dapChainWalletsModel.get(currentIndex).tokens[0];
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment