]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL9896 - data is lost in "create mesh" if it is invalid
authorasl <asl@opencascade.com>
Thu, 6 Apr 2006 11:27:21 +0000 (11:27 +0000)
committerasl <asl@opencascade.com>
Thu, 6 Apr 2006 11:27:21 +0000 (11:27 +0000)
src/SMESHGUI/SMESHGUI_MeshOp.cxx
src/SMESHGUI/SMESHGUI_Operation.cxx

index 399eada8ad20ee836b6a12fa67958f831f6c6fba..823ad4d7f34829107c69380cd683672ccd45ea10 100644 (file)
@@ -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" ) );
index ea3a61ad1f5b66056bfeae36a565807d84610fa2..e6ba1303b962624c940b570555e4f68fae4d0b09 100755 (executable)
@@ -141,8 +141,8 @@ void SMESHGUI_Operation::onOk()
 {
   if( onApply() )
     commit();
-  else
-    abort();
+  //else
+  //  abort();
 }
 
 //=======================================================================