fixed status icons in the top left corner

This commit is contained in:
Dorian Zedler 2020-05-17 21:53:29 +02:00
parent d085f382c7
commit e1f9554212
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -325,14 +325,14 @@ Window {
Repeater { Repeater {
id: connectedExtensionsRep id: connectedExtensionsRep
anchors.fill: parent anchors.fill: parent
model: speedBackend.scStwClient.extensions.lenght model: speedBackend.scStwClient.extensions.length
delegate: ConnectionIcon { delegate: ConnectionIcon {
id: buzzerConnIcon id: buzzerConnIcon
status: speedBackend.extensions[index]["state"] status: speedBackend.scStwClient.extensions[index]["state"]
source: { source: {
var source var source
switch(speedBackend.extensions[index]["type"]){ switch(speedBackend.scStwClient.extensions[index]["type"]){
case "STARTPAD": case "STARTPAD":
source = appTheme.style.startpadIcon source = appTheme.style.startpadIcon
break break