From 4299dbb90bb1017d1e6531b446951223cccbc382 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 26 Sep 2016 15:22:23 +0200 Subject: [PATCH] Force refresh display when activating profile CURA-2448 --- resources/qml/Preferences/ProfilesPage.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/qml/Preferences/ProfilesPage.qml b/resources/qml/Preferences/ProfilesPage.qml index 051dc1f249..d6eb82246d 100644 --- a/resources/qml/Preferences/ProfilesPage.qml +++ b/resources/qml/Preferences/ProfilesPage.qml @@ -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