Update the resolution dropdown model whenever a custom profile is enabled. Otherwise it won't reflect the custom profiles parent resolution.

CURA-8849
This commit is contained in:
j.delarago 2022-06-14 15:03:47 +02:00
parent a87695cd8d
commit 5cfb6f94e3

View File

@ -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)