FEM: Don't check is Show is checked after slider has been moved.

Slider is disbled is Show is not ticked, so that check is redundant.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
Przemo Firszt 2015-05-24 12:18:00 +01:00
parent 74234e7000
commit 6a13a51b90

View File

@ -564,9 +564,7 @@ class _ResultControlTaskPanel:
QtGui.qApp.restoreOverrideCursor()
def sliderValue(self, value):
if(self.form.checkBox_ShowDisplacement.isChecked()):
self.MeshObject.ViewObject.animate(value)
self.MeshObject.ViewObject.animate(value)
self.form.spinBox_DisplacementFactor.setValue(value)
def sliderMaxValue(self, value):