Explorar o código

Event loop now terminate when SimplePythonShell is closed

Jean-Christophe Fillion-Robin %!s(int64=14) %!d(string=hai) anos
pai
achega
e240120b25

+ 1 - 1
Applications/ctkSimplePythonShell/ctkSimplePythonShellMain.cpp

@@ -14,7 +14,7 @@ int main(int argc, char** argv)
   ctkSimplePythonManager pythonManager;
   
   ctkPythonShell shell(&pythonManager);
-  shell.setAttribute(Qt::WA_QuitOnClose, false);
+  shell.setAttribute(Qt::WA_QuitOnClose, true);
   shell.resize(600, 280);
   shell.show();