mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Minor fixes for customized profile in simple mode
CURA-4333 - Update comments - Disable the quality slider when there is a customized profile
This commit is contained in:
parent
9b8dc9bf55
commit
fae65d7b83
2 changed files with 3 additions and 2 deletions
|
@ -47,7 +47,8 @@ class SimpleModeSettingsManager(QObject):
|
||||||
self._is_profile_customized = has_customized_user_settings
|
self._is_profile_customized = has_customized_user_settings
|
||||||
self.isProfileCustomizedChanged.emit()
|
self.isProfileCustomizedChanged.emit()
|
||||||
|
|
||||||
# A list of settings that will be ignored when check whether there is any custom settings.
|
# These are the settings included in the Simple ("Recommended") Mode, so only when the other settings have been
|
||||||
|
# changed, we consider it as a user customized profile in the Simple ("Recommended") Mode.
|
||||||
__ignored_custom_setting_keys = ["support_enable",
|
__ignored_custom_setting_keys = ["support_enable",
|
||||||
"infill_sparse_density",
|
"infill_sparse_density",
|
||||||
"gradual_infill_steps",
|
"gradual_infill_steps",
|
||||||
|
|
|
@ -260,7 +260,7 @@ Item
|
||||||
id: qualitySlider
|
id: qualitySlider
|
||||||
height: UM.Theme.getSize("sidebar_margin").height
|
height: UM.Theme.getSize("sidebar_margin").height
|
||||||
anchors.bottom: speedSlider.bottom
|
anchors.bottom: speedSlider.bottom
|
||||||
enabled: qualityModel.availableTotalTicks > 0
|
enabled: qualityModel.availableTotalTicks > 0 && !Cura.SimpleModeSettingsManager.isProfileCustomized
|
||||||
visible: qualityModel.totalTicks > 0
|
visible: qualityModel.totalTicks > 0
|
||||||
updateValueWhileDragging : false
|
updateValueWhileDragging : false
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue