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:
Billy Huddleston
2025-10-24 15:08:57 -04:00
committed by Chris Hennes
parent bba37208cc
commit db40eb1478
5 changed files with 19 additions and 0 deletions

View File

@@ -196,6 +196,7 @@ void ExpressionSpinBox::openFormulaDialog()
else if (box->discardedFormula())
setExpression(std::shared_ptr<Expression>());
updateExpression();
box->deleteLater();
});
box->show();