mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
PAL9896 - data is lost in "create mesh" if it is invalid
This commit is contained in:
parent
9412871c47
commit
09ecd3b11c
@ -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" ) );
|
||||
|
@ -141,8 +141,8 @@ void SMESHGUI_Operation::onOk()
|
||||
{
|
||||
if( onApply() )
|
||||
commit();
|
||||
else
|
||||
abort();
|
||||
//else
|
||||
// abort();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user