From: asl Date: Thu, 6 Apr 2006 11:27:21 +0000 (+0000) Subject: PAL9896 - data is lost in "create mesh" if it is invalid X-Git-Tag: T3_2_0b1_pre1~46 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09ecd3b11cecad92ade27cd630730a311038514c;p=modules%2Fsmesh.git PAL9896 - data is lost in "create mesh" if it is invalid --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index 399eada8a..823ad4d7f 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -141,6 +141,7 @@ bool SMESHGUI_MeshOp::onApply() QString aMess; if ( !isValid( aMess ) ) { + dlg()->show(); if ( aMess != "" ) SUIT_MessageBox::warn1( myDlg, tr( "SMESH_WRN_WARNING" ), aMess, tr( "SMESH_BUT_OK" ) ); diff --git a/src/SMESHGUI/SMESHGUI_Operation.cxx b/src/SMESHGUI/SMESHGUI_Operation.cxx index ea3a61ad1..e6ba1303b 100755 --- a/src/SMESHGUI/SMESHGUI_Operation.cxx +++ b/src/SMESHGUI/SMESHGUI_Operation.cxx @@ -141,8 +141,8 @@ void SMESHGUI_Operation::onOk() { if( onApply() ) commit(); - else - abort(); + //else + // abort(); } //=======================================================================