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:
parent
74234e7000
commit
6a13a51b90
|
@ -564,9 +564,7 @@ class _ResultControlTaskPanel:
|
||||||
QtGui.qApp.restoreOverrideCursor()
|
QtGui.qApp.restoreOverrideCursor()
|
||||||
|
|
||||||
def sliderValue(self, value):
|
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)
|
self.form.spinBox_DisplacementFactor.setValue(value)
|
||||||
|
|
||||||
def sliderMaxValue(self, value):
|
def sliderMaxValue(self, value):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user