mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:05:53 +08:00
Force refresh display when activating profile
CURA-2448
This commit is contained in:
parent
87b0063266
commit
4299dbb90b
@ -81,7 +81,11 @@ UM.ManagementPage
|
|||||||
text: catalog.i18nc("@action:button", "Activate");
|
text: catalog.i18nc("@action:button", "Activate");
|
||||||
iconName: "list-activate";
|
iconName: "list-activate";
|
||||||
enabled: base.currentItem != null ? base.currentItem.id != Cura.MachineManager.activeQualityId : false;
|
enabled: base.currentItem != null ? base.currentItem.id != Cura.MachineManager.activeQualityId : false;
|
||||||
onClicked: Cura.MachineManager.setActiveQuality(base.currentItem.id)
|
onClicked:
|
||||||
|
{
|
||||||
|
Cura.MachineManager.setActiveQuality(base.currentItem.id)
|
||||||
|
currentItem = base.model.getItem(base.objectList.currentIndex) // Refresh the current item.
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// Create button
|
// Create button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user