on xenial help sign in
Force focus properly
6afb579Andrea Cimitan
qml/Dash/ScopeSettings/ScopeSettingNumber.qml+1−1
@@ -25,7 +25,7 @@ ScopeSetting {
25 ListItem.Empty {
25 ListItem.Empty {
26 id: listItem
26 id: listItem
27 onClicked: {
27 onClicked: {
28− control.focus = true;
28+ control.forceActiveFocus();
29 control.selectAll();
29 control.selectAll();
30 }
30 }
31
31
qml/Dash/ScopeSettings/ScopeSettingString.qml+1−1
@@ -25,7 +25,7 @@ ScopeSetting {
25 ListItem.Empty {
25 ListItem.Empty {
26 id: listItem
26 id: listItem
27 onClicked: {
27 onClicked: {
28− control.focus = true;
28+ control.forceActiveFocus();
29 control.selectAll();
29 control.selectAll();
30 }
30 }
31
31