Scroll setting with active focus into view

This commit is contained in:
fieldOfView 2017-06-26 13:00:59 +02:00
parent b324e90ba5
commit edee53b0b1
8 changed files with 73 additions and 6 deletions

View file

@ -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
{