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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user