From 96bd641d93290ca38fea33667a4c64f780c52ecb Mon Sep 17 00:00:00 2001 From: Nino van Hooff Date: Fri, 1 Nov 2019 11:06:16 +0100 Subject: Fix: upper/lower handle not losing focus when range handle pressed --- plugins/SimulationView/LayerSlider.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins/SimulationView') diff --git a/plugins/SimulationView/LayerSlider.qml b/plugins/SimulationView/LayerSlider.qml index eff27c43a7..0c62dd01cf 100644 --- a/plugins/SimulationView/LayerSlider.qml +++ b/plugins/SimulationView/LayerSlider.qml @@ -155,7 +155,11 @@ Item } onPositionChanged: parent.onHandleDragged() - onPressed: sliderRoot.setActiveHandle(rangeHandle) + onPressed: + { + sliderRoot.setActiveHandle(rangeHandle) + sliderRoot.forceActiveFocus() + } } } -- cgit v1.2.3