0022311: EDF 2687 GEOM: Management of Publish Objects

This commit is contained in:
vsr 2013-11-14 14:16:31 +00:00
parent a995245ef2
commit a56b72922e
2 changed files with 3 additions and 3 deletions

View File

@ -621,7 +621,7 @@ void GEOMToolsGUI::OnPublishObject() {
GEOMToolsGUI_PublishDlg* publishDlg = GEOMToolsGUI_PublishDlg* publishDlg =
new GEOMToolsGUI_PublishDlg( SUIT_Session::session()->activeApplication()->desktop() ); new GEOMToolsGUI_PublishDlg( SUIT_Session::session()->activeApplication()->desktop() );
publishDlg->exec(); publishDlg->show();
} }

View File

@ -58,7 +58,7 @@ GEOMToolsGUI_PublishDlg::GEOMToolsGUI_PublishDlg(QWidget* parent):
QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint) QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint)
{ {
setObjectName( "GEOMToolsGUI_PublishDlg" ); setObjectName( "GEOMToolsGUI_PublishDlg" );
setModal( true ); setModal( false );
setWindowTitle( tr( "GEOM_PUBLISH_OBJECTS_TLT" ) ); setWindowTitle( tr( "GEOM_PUBLISH_OBJECTS_TLT" ) );
setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt::WA_DeleteOnClose);