mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 00:28:59 +08: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
@ -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…
x
Reference in New Issue
Block a user