mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 11:51:41 -07: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
|
|
@ -102,7 +102,7 @@ SettingItem
|
|||
}
|
||||
}
|
||||
|
||||
onActivated: provider.setPropertyValue("value", extruders_model.getItem(index).index);
|
||||
onActivated: { forceActiveFocus(); provider.setPropertyValue("value", extruders_model.getItem(index).index) };
|
||||
onModelChanged: updateCurrentIndex();
|
||||
|
||||
Connections
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue