mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-11 19:29:26 -07:00
Force refresh display when activating profile
CURA-2448
This commit is contained in:
parent
87b0063266
commit
4299dbb90b
1 changed files with 5 additions and 1 deletions
|
|
@ -81,7 +81,11 @@ UM.ManagementPage
|
|||
text: catalog.i18nc("@action:button", "Activate");
|
||||
iconName: "list-activate";
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue