From a56b72922ecc98d8fd88148ebe47d2551d7992a6 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 14 Nov 2013 14:16:31 +0000 Subject: [PATCH] 0022311: EDF 2687 GEOM: Management of Publish Objects --- src/GEOMToolsGUI/GEOMToolsGUI_1.cxx | 4 ++-- src/GEOMToolsGUI/GEOMToolsGUI_PublishDlg.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);