Просмотр исходного кода

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

CURA-8849
j.delarago 2 лет назад
Родитель
Сommit
5cfb6f94e3
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      cura/Machines/Models/ActiveIntentQualitiesModel.py

+ 2 - 0
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)