diff --git a/Fwk/AppFwk/cafUserInterface/cafProgressInfo.cpp b/Fwk/AppFwk/cafUserInterface/cafProgressInfo.cpp index 498170c2e6..8356dfc81d 100644 --- a/Fwk/AppFwk/cafUserInterface/cafProgressInfo.cpp +++ b/Fwk/AppFwk/cafUserInterface/cafProgressInfo.cpp @@ -170,6 +170,8 @@ namespace caf { progDialog = new QProgressDialog(); progDialog->hide(); + progDialog->setAutoClose(false); + progDialog->setAutoReset(false); } return progDialog; } @@ -420,7 +422,6 @@ namespace caf { if (progressDialog() != NULL) { progressDialog()->hide(); - delete progressDialog(); } }