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 :)
master
Bhushan Shah 2019-03-25 17:19:34 +05:30
parent eeb56908ba
commit 2b013ac8c9
1 changed files with 2 additions and 2 deletions

View File

@ -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 {