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:
wmayer
2011-12-10 13:42:32 +00:00
parent 847a9aad5e
commit 1884ee3881
5 changed files with 35 additions and 9 deletions

View File

@@ -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&) {
}