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:
parent
c1d6dd4a5c
commit
d42ba8f5cf
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user