on xenial help sign in
Focus the slider on expanding

Removes focus from other filters like the range selector

commit8434118798f8947fa02b9ce40e843c40a4f71e47 authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 27 Jan 2016, 11:41 (11 years ago) parent47baa30
1 file changed+3
qml/Dash/Filters/FilterValueSlider.qml+3
qml/Dash/Filters/FilterValueSlider.qml+3
@@ -44,6 +44,9 @@ FilterWidget {
4444 onValueChanged: {
4545 widgetData.value = value;
4646 }
47+ onPressedChanged: {
48+ if (pressed) forceActiveFocus();
49+ }
4750
4851 readonly property Item thumb: __internals.thumb
4952 readonly property real barMinusThumb: __internals.barMinusThumb