Proper handling of SystemExitException in Python
This commit is contained in:
@@ -709,7 +709,7 @@ void PythonConsole::runSource(const QString& line)
|
||||
}
|
||||
if (ret == QMessageBox::Yes) {
|
||||
PyErr_Clear();
|
||||
qApp->quit();
|
||||
throw;
|
||||
}
|
||||
else {
|
||||
PyErr_Clear();
|
||||
|
||||
Reference in New Issue
Block a user