mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 05:41:05 -07:00
Scroll setting with active focus into view
This commit is contained in:
parent
b324e90ba5
commit
edee53b0b1
8 changed files with 73 additions and 6 deletions
|
|
@ -94,7 +94,19 @@ SettingItem
|
|||
}
|
||||
}
|
||||
|
||||
onActivated: { forceActiveFocus(); propertyProvider.setPropertyValue("value", definition.options[index].key) }
|
||||
onActivated:
|
||||
{
|
||||
forceActiveFocus();
|
||||
propertyProvider.setPropertyValue("value", definition.options[index].key);
|
||||
}
|
||||
|
||||
onActiveFocusChanged:
|
||||
{
|
||||
if(activeFocus)
|
||||
{
|
||||
base.focusReceived();
|
||||
}
|
||||
}
|
||||
|
||||
Binding
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue