diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx index 23d894283..eb95c26bc 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx @@ -619,9 +619,9 @@ void GEOMToolsGUI::OnPublishObject() { return; } - GEOMToolsGUI_PublishDlg * publishDlg = + GEOMToolsGUI_PublishDlg* publishDlg = new GEOMToolsGUI_PublishDlg( SUIT_Session::session()->activeApplication()->desktop() ); - publishDlg->exec(); + publishDlg->show(); } diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_PublishDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_PublishDlg.cxx index cd864d326..07260a93b 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_PublishDlg.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_PublishDlg.cxx @@ -58,7 +58,7 @@ GEOMToolsGUI_PublishDlg::GEOMToolsGUI_PublishDlg(QWidget* parent): QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint) { setObjectName( "GEOMToolsGUI_PublishDlg" ); - setModal( true ); + setModal( false ); setWindowTitle( tr( "GEOM_PUBLISH_OBJECTS_TLT" ) ); setAttribute(Qt::WA_DeleteOnClose);