From 1f4ebb1e3926564e488e68b2502bf75c9e8e79f8 Mon Sep 17 00:00:00 2001 From: jonymt <johanmt@yandex.ru> Date: Wed, 2 Oct 2019 17:55:01 +0200 Subject: [PATCH] [*] connected to model of wallets --- CellFrameDashboardGUI/DapUiQmlWidgetStatusBar.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CellFrameDashboardGUI/DapUiQmlWidgetStatusBar.qml b/CellFrameDashboardGUI/DapUiQmlWidgetStatusBar.qml index 5fd520f8a..0e0e0cc48 100644 --- a/CellFrameDashboardGUI/DapUiQmlWidgetStatusBar.qml +++ b/CellFrameDashboardGUI/DapUiQmlWidgetStatusBar.qml @@ -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]; } } -- GitLab