Skip to content

Commit a47c9b7

Browse files
committed
Fem: Run option in examples open and run analysis - fixes FreeCAD#11056
1 parent ea840bc commit a47c9b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Mod/Fem/femexamples/examplesgui.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,10 @@ def run(self):
236236
# if done this way the Python commands are printed in Python console
237237
FreeCADGui.doCommand("from femexamples.manager import run_example")
238238
if solver is not None:
239-
FreeCADGui.doCommand("run_example(\"{}\", solver=\"{}\")"
239+
FreeCADGui.doCommand("run_example(\"{}\", solver=\"{}\", run_solver=True)"
240240
.format(str(example), str(solver)))
241241
else:
242-
FreeCADGui.doCommand("run_example(\"{}\")".format(str(example)))
242+
FreeCADGui.doCommand("run_example(\"{}\", run_solver=True)".format(str(example)))
243243
QtGui.QApplication.restoreOverrideCursor()
244244

245245
def enable_buttons(self):

0 commit comments

Comments
 (0)