Change listType -> componentType. Makes it a bit more clear that this variable decides which component should be used for the model.

CURA-9514
This commit is contained in:
joeydelarago 2022-08-31 10:50:20 +02:00
parent f94bbb9ebc
commit 19835844bf
3 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@ Loader {
id: loader
width: parent.width
sourceComponent: {
switch (model.listType) {
switch (model.componentType) {
case "HIDE_BUTTON":
hideButtonComponent
break;