1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-19 00:42:33 +02:00

Fix issue where not specifying a text field in wallpaper properties could lead to undefined behaviour

This commit is contained in:
Dominik Louven 2020-03-12 17:56:37 +01:00
parent c1d6dd4a5c
commit d42ba8f5cf

View File

@ -47,7 +47,9 @@ Item {
var obj = JSON.parse(value.toString())
txtDescription.text = obj["text"]
if(obj["text"]){
txtDescription.text = obj["text"]
}
switch(obj["type"]){
case "slider":