CAM: Fix expression editor so that widgets refresh after closing
src/Gui/QuantitySpinBox.cpp: - Call updateExpression() after setExpression() in QuantitySpinBox src/Gui/SpinBox.cpp: - Call updateExpression() after setExpression() in ExpressionSpinBox src/Gui/Widgets.cpp: - Call onChange() after setExpression() in ExpLineEdit src/Mod/CAM/Path/Base/Gui/Util.py: - Connect to showFormulaDialog signal and refresh CAM QuantitySpinBox Python wrapper when dialog closes
This commit is contained in:
committed by
Chris Hennes
parent
bba37208cc
commit
db40eb1478
@@ -1621,6 +1621,7 @@ void ExpLineEdit::finishFormulaDialog()
|
||||
else if (box->discardedFormula())
|
||||
setExpression(std::shared_ptr<Expression>());
|
||||
|
||||
onChange();
|
||||
box->deleteLater();
|
||||
|
||||
if(autoClose)
|
||||
|
||||
Reference in New Issue
Block a user