mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
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:
parent
f94bbb9ebc
commit
19835844bf
3 changed files with 7 additions and 7 deletions
|
@ -11,7 +11,7 @@ Loader {
|
|||
id: loader
|
||||
width: parent.width
|
||||
sourceComponent: {
|
||||
switch (model.listType) {
|
||||
switch (model.componentType) {
|
||||
case "HIDE_BUTTON":
|
||||
hideButtonComponent
|
||||
break;
|
||||
|
|
|
@ -35,7 +35,7 @@ ListView
|
|||
|
||||
onClicked: function()
|
||||
{
|
||||
switch (model.listType) {
|
||||
switch (model.componentType) {
|
||||
case "HIDE_BUTTON":
|
||||
listView.model.setShowCloudPrinters(false);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue