Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNino van Hooff <ninovanhooff@gmail.com>2019-11-01 13:06:16 +0300
committerNino van Hooff <ninovanhooff@gmail.com>2019-11-01 13:06:16 +0300
commit96bd641d93290ca38fea33667a4c64f780c52ecb (patch)
tree4b0735c092e23727a503c2a6bdd128bf2c166552 /plugins/SimulationView
parent94d291a20c3e5e9bd84d3476cd8844bd9bf8930c (diff)
Fix: upper/lower handle not losing focus when range handle pressed
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r--plugins/SimulationView/LayerSlider.qml6
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()
+ }
}
}