mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Ensure the control has active focus when clicking a SettingItem
This way we ensure that things update properly when for example changing infill pattern. Fixes CURA-1494
This commit is contained in:
parent
eb836bfc3f
commit
e473d7a4e9
4 changed files with 12 additions and 8 deletions
|
@ -86,7 +86,7 @@ SettingItem
|
|||
}
|
||||
}
|
||||
|
||||
onActivated: provider.setPropertyValue("value", definition.options[index].key)
|
||||
onActivated: { forceActiveFocus(); provider.setPropertyValue("value", definition.options[index].key) }
|
||||
onModelChanged: updateCurrentIndex();
|
||||
|
||||
Connections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue