From 13cab3653e499640d371a083856f8d1bfe9e83f0 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Tue, 18 Sep 2018 17:09:57 +0200 Subject: [PATCH] Remove unworking code that I forgot to remove after explaining a possible solution to myself. Contributes to CURA-5725 --- plugins/SimulationView/LayerSlider.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/SimulationView/LayerSlider.qml b/plugins/SimulationView/LayerSlider.qml index 342ec829b9..841472a836 100644 --- a/plugins/SimulationView/LayerSlider.qml +++ b/plugins/SimulationView/LayerSlider.qml @@ -323,10 +323,10 @@ Item return result } - function setValueManually(handle, value) + function setValueManually(value) { sliderRoot.manuallyChanged = true - handle.setValue(value) + lowerHandle.setValue(value) } // set the slider position based on the lower value