From: vsr Date: Thu, 14 Nov 2013 14:16:31 +0000 (+0000) Subject: 0022311: EDF 2687 GEOM: Management of Publish Objects X-Git-Tag: BR_hydro_v_0_3_1~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a56b72922ecc98d8fd88148ebe47d2551d7992a6;p=modules%2Fgeom.git 0022311: EDF 2687 GEOM: Management of Publish Objects --- 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);