From 2b013ac8c986c9b9650cebbb4b63736a59c7e590 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Mon, 25 Mar 2019 17:19:34 +0530 Subject: [PATCH] Use model.roleName instead of the roleName This seems to workaround the issue with the Kirigami, and makes OTP refresh correctly. Now it is actually usable :) --- src/contents/ui/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contents/ui/main.qml b/src/contents/ui/main.qml index 743753f..03ee5c8 100644 --- a/src/contents/ui/main.qml +++ b/src/contents/ui/main.qml @@ -72,11 +72,11 @@ Kirigami.ApplicationWindow { ColumnLayout { Controls.Label { Layout.fillWidth: true - text: name + text: model.name } Kirigami.Heading { level: 2 - text: otp + text: model.otp } } Controls.Button {