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
parent
eeb56908ba
commit
2b013ac8c9
|
@ -72,11 +72,11 @@ Kirigami.ApplicationWindow {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: name
|
text: model.name
|
||||||
}
|
}
|
||||||
Kirigami.Heading {
|
Kirigami.Heading {
|
||||||
level: 2
|
level: 2
|
||||||
text: otp
|
text: model.otp
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Controls.Button {
|
Controls.Button {
|
||||||
|
|
Loading…
Reference in New Issue