mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Fix applying configuration when clicking
Also no longer use that signal for it. It was completely unnecessary. Contributes to issue CURA-5876.
This commit is contained in:
parent
89126c7323
commit
b15c272d23
2 changed files with 5 additions and 6 deletions
|
@ -12,7 +12,6 @@ Button
|
|||
id: configurationItem
|
||||
|
||||
property var configuration: null
|
||||
signal activateConfiguration()
|
||||
|
||||
height: childrenRect.height
|
||||
|
||||
|
@ -111,4 +110,9 @@ Button
|
|||
configurationItem.checked = Cura.MachineManager.matchesConfiguration(configuration)
|
||||
}
|
||||
}
|
||||
|
||||
onClicked:
|
||||
{
|
||||
Cura.MachineManager.applyRemoteConfiguration(configuration)
|
||||
}
|
||||
}
|
|
@ -70,11 +70,6 @@ Column
|
|||
{
|
||||
width: parent.width - UM.Theme.getSize("default_margin").width
|
||||
configuration: modelData
|
||||
onActivateConfiguration:
|
||||
{
|
||||
switchPopupState()
|
||||
Cura.MachineManager.applyRemoteConfiguration(configuration)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue