Skip to content

Commit

Permalink
[skip ci] do not set attribute WA_DeleteOnClose when loading FreeCAD …
Browse files Browse the repository at this point in the history
…GUI from Python
  • Loading branch information
wwmayer committed Jun 26, 2020
1 parent ef21d8e commit 1f741aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Main/FreeCADGuiPy.cpp
Expand Up @@ -288,7 +288,6 @@ QWidget* setupMainWindow()
Base::PyGILStateLocker lock;
PyObject* input = PySys_GetObject("stdin");
Gui::MainWindow *mw = new Gui::MainWindow();
mw->setAttribute(Qt::WA_DeleteOnClose);
hasMainWindow = true;

QIcon icon = qApp->windowIcon();
Expand Down

0 comments on commit 1f741aa

Please sign in to comment.