From 5cfb6f94e3ca1df3f08a88bcd939e1a53f5b55cf Mon Sep 17 00:00:00 2001 From: "j.delarago" Date: Tue, 14 Jun 2022 15:03:47 +0200 Subject: [PATCH] Update the resolution dropdown model whenever a custom profile is enabled. Otherwise it won't reflect the custom profiles parent resolution. CURA-8849 --- cura/Machines/Models/ActiveIntentQualitiesModel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cura/Machines/Models/ActiveIntentQualitiesModel.py b/cura/Machines/Models/ActiveIntentQualitiesModel.py index 67b9cec9a4..dc546bc5d4 100644 --- a/cura/Machines/Models/ActiveIntentQualitiesModel.py +++ b/cura/Machines/Models/ActiveIntentQualitiesModel.py @@ -33,6 +33,8 @@ class ActiveIntentQualitiesModel(ListModel): self._intent_category = "" IntentManager.intentCategoryChangedSignal.connect(self._update) + machine_manager = cura.CuraApplication.CuraApplication.getInstance().getMachineManager() + machine_manager.activeQualityGroupChanged.connect(self._update) self._update_timer = QTimer() self._update_timer.setInterval(100)