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 { ...@@ -28,8 +28,8 @@ Rectangle {
anchors.leftMargin: 30 * pt anchors.leftMargin: 30 * pt
anchors.topMargin: 10 * pt anchors.topMargin: 10 * pt
anchors.bottomMargin: 10 * pt anchors.bottomMargin: 10 * pt
// model: dapChainWalletsModel model: dapChainWalletsModel
model: testModel // model: testModel
textRole: "name" textRole: "name"
indicator: Image { indicator: Image {
...@@ -42,7 +42,7 @@ Rectangle { ...@@ -42,7 +42,7 @@ Rectangle {
} }
onCurrentIndexChanged: { 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