From 335196a468fcf069f365dcbb24279a8295cc4683 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sun, 14 Aug 2022 05:46:17 +0200 Subject: [PATCH] [FEM] [skip CI] remove an obsolete comment - since a while there is no green hook but a QuantitySpinBox --- .../Fem/femtaskpanels/task_constraint_electrostaticpotential.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Mod/Fem/femtaskpanels/task_constraint_electrostaticpotential.py b/src/Mod/Fem/femtaskpanels/task_constraint_electrostaticpotential.py index 05683ff943..ad788ec3b4 100644 --- a/src/Mod/Fem/femtaskpanels/task_constraint_electrostaticpotential.py +++ b/src/Mod/Fem/femtaskpanels/task_constraint_electrostaticpotential.py @@ -126,8 +126,6 @@ class _TaskPanel(object): self._obj.PotentialEnabled = \ not self._paramWidget.potentialBox.isChecked() if self._obj.PotentialEnabled: - # if the input widget shows not a green hook, but the user presses ok - # we could run into a syntax error on getting the quantity potential = None try: potential = self._paramWidget.potentialQSB.property('value')