diff options
author | Nino van Hooff <ninovanhooff@gmail.com> | 2019-11-01 13:06:16 +0300 |
---|---|---|
committer | Nino van Hooff <ninovanhooff@gmail.com> | 2019-11-01 13:06:16 +0300 |
commit | 96bd641d93290ca38fea33667a4c64f780c52ecb (patch) | |
tree | 4b0735c092e23727a503c2a6bdd128bf2c166552 /plugins | |
parent | 94d291a20c3e5e9bd84d3476cd8844bd9bf8930c (diff) |
Fix: upper/lower handle not losing focus when range handle pressed
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SimulationView/LayerSlider.qml | 6 |
1 files changed, 5 insertions, 1 deletions
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() + } } } |