mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06: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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue