Salome HOME
0022311: EDF 2687 GEOM: Management of Publish Objects
authorvsr <vsr@opencascade.com>
Thu, 14 Nov 2013 14:16:31 +0000 (14:16 +0000)
committervsr <vsr@opencascade.com>
Thu, 14 Nov 2013 14:16:31 +0000 (14:16 +0000)
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx
src/GEOMToolsGUI/GEOMToolsGUI_PublishDlg.cxx

index 23d89428305195fca577c42222ad911091d96308..eb95c26bc5fd3dd6681fb7e41c8708e6896532a0 100644 (file)
@@ -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();
 }
 
 
index cd864d32603d765087b34a00361be63b6afe1a78..07260a93bbceb41eecf20aa39b8e85daffd99fd7 100644 (file)
@@ -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);