mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 02:59:06 +08:00
We are using recommendedResolutionSelector._previousResolution to see if the resolution had changed before highlighting the resolution selector. This updates when intents change but not when qualities change.
I tried updating when the qualities change but this was updating before this line if(recommendedResolutionSelector._previousResolution !== Cura.MachineManager.activeQualityType) which caused this always to resolve as true The solution was to update _previousResolution after we select an item in the drop down. CURA-8849
This commit is contained in:
parent
1e5f6bce72
commit
689547f125
@ -66,6 +66,11 @@ Item
|
||||
{
|
||||
var selected_item = model.getItem(currentIndex)
|
||||
Cura.IntentManager.selectIntent(selected_item.intent_category, selected_item.quality_type)
|
||||
|
||||
if (Cura.IntentManager.currentIntentCategory == selected_item.intent_category)
|
||||
{
|
||||
recommendedResolutionSelector._previousResolution = selected_item.quality_type;
|
||||
}
|
||||
}
|
||||
|
||||
Connections
|
||||
|
Loading…
x
Reference in New Issue
Block a user