0000528: Need a way to reset the Python instance
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5250 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
@@ -414,7 +414,7 @@ void PythonDebugger::runFile(const QString& fn)
|
||||
{
|
||||
try {
|
||||
RunningState state(d->running);
|
||||
Base::Interpreter().runFile((const char*)fn.toUtf8());
|
||||
Base::Interpreter().runFile((const char*)fn.toUtf8(), true);
|
||||
}
|
||||
catch (const Base::PyException&) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user