Fuchs / hoppla-sa

Linux / KDE Plasma desktop widget to control Philips Hue lights. Controls lights, groups and customizable actions.
https://store.kde.org/p/1168067/
GNU Lesser General Public License v2.1
66 stars 6 forks source link

ID in "Edit command" is not set for Group "all" #3

Closed Ch3wi3 closed 7 years ago

Ch3wi3 commented 7 years ago

If I edit a command in an custom "action" the property ID is not set correctly when group is "0: All lights" If I choose any other group the ID is set correctly.

Steps to reproduce:

--> ID field of the Command is empty

--> ID field is set correctly to the group ID

Fuchs commented 7 years ago

Yep, that is a bug I introduced in a change recently, will be fixed in the next release. If you want a fix in the meantime:

Change Line 427 of ActionEditor.qml to targetModel.append( { text: "0: " + i18n("All lights"), value: "0", uuid: "0"} ); save and restart plasma.

Thanks for the report :)