소스 검색

Event loop now terminate when SimplePythonShell is closed

Jean-Christophe Fillion-Robin 14 년 전
부모
커밋
e240120b25
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Applications/ctkSimplePythonShell/ctkSimplePythonShellMain.cpp

+ 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();