diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml index 5176436b0c..2ae6dfcb41 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml @@ -1,4 +1,4 @@ -// Copyright (c) 2022 UltiMaker B.V. +// Copyright (c) 2022 UltiMaker // Cura is released under the terms of the LGPLv3 or higher. import QtQuick 2.10 diff --git a/resources/qml/Widgets/SingleSettingComboBox.qml b/resources/qml/Widgets/SingleSettingComboBox.qml index 7b4381b9b5..0f2b4bbd08 100644 --- a/resources/qml/Widgets/SingleSettingComboBox.qml +++ b/resources/qml/Widgets/SingleSettingComboBox.qml @@ -22,7 +22,8 @@ Cura.ComboBox { // This is only used if updateAllExtruders == true property int defaultExtruderIndex: 0 - model: ListModel { + model: ListModel + { id: comboboxModel // The propertyProvider has not loaded the setting when this components onComplete triggers. Populating the model diff --git a/resources/qml/Widgets/SingleSettingSlider.qml b/resources/qml/Widgets/SingleSettingSlider.qml index 2dbb104032..98dfdc222b 100644 --- a/resources/qml/Widgets/SingleSettingSlider.qml +++ b/resources/qml/Widgets/SingleSettingSlider.qml @@ -62,8 +62,14 @@ RowLayout Connections { target: propertyProvider - function onContainerStackChanged() { updateTimer.restart() } - function onIsValueUsedChanged() { updateTimer.restart() } + function onContainerStackChanged() + { + comboboxModel.updateModel() + } + function onIsValueUsedChanged() + { + comboboxModel.updateModel() + } } // Updates to the setting are delayed by interval. This reduces lag by waiting a bit after a setting change to update the slider contents. diff --git a/resources/qml/Widgets/SingleSettingTextField.qml b/resources/qml/Widgets/SingleSettingTextField.qml index 6d9586caa5..10bf283a11 100644 --- a/resources/qml/Widgets/SingleSettingTextField.qml +++ b/resources/qml/Widgets/SingleSettingTextField.qml @@ -59,8 +59,14 @@ UM.TextField Connections { target: propertyProvider - function onContainerStackChanged() { updateTimer.restart() } - function onIsValueUsedChanged() { updateTimer.restart() } + function onContainerStackChanged() + { + updateTimer.restart() + } + function onIsValueUsedChanged() + { + updateTimer.restart() + } } // Restart update timer right after releasing a key. This stops lag while typing, but you still get warning and error