From 09ecd3b11cecad92ade27cd630730a311038514c Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 6 Apr 2006 11:27:21 +0000 Subject: [PATCH] PAL9896 - data is lost in "create mesh" if it is invalid --- src/SMESHGUI/SMESHGUI_MeshOp.cxx | 1 + src/SMESHGUI/SMESHGUI_Operation.cxx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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(); } //======================================================================= -- 2.39.2