[CURA-5677] Removed some superfluous and/or dead lines.

This commit is contained in:
Remco Burema 2018-09-11 09:08:50 +02:00
parent c8eeb737bb
commit 109b3fc1d2

View file

@ -666,16 +666,7 @@ Item
Connections Connections
{ {
target: UM.SimulationView target: UM.SimulationView
onMaxLayersChanged: onMaxLayersChanged: layerSlider.setUpperValue(UM.SimulationView.currentLayer)
{
playButton.pauseSimulation()
layerSlider.setUpperValue(UM.SimulationView.currentLayer)
}
onMinimumLayerChanged:
{
playButton.pauseSimulation()
layerSlider.setLowerValue(UM.SimulationView.minimumLayer)
}
onCurrentLayerChanged: onCurrentLayerChanged:
{ {
playButton.pauseSimulation() playButton.pauseSimulation()