X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_MeshOp.cxx;h=62a5c4b74c2118780fbf3076eb71e228ac25a159;hb=15e0993d69189f5b30a4adb90767044c3f653952;hp=c9020d81a154bdcd47b607de824ed1e30d84d87b;hpb=608b1a194b11996d851d2e889958b83cea173d12;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index c9020d81a..62a5c4b74 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -141,13 +141,6 @@ bool SMESHGUI_MeshOp::onApply() SUIT_MessageBox::warning( myDlg, tr( "SMESH_WRN_WARNING" ), aMess ); return false; } -/* else if ( aMess == tr( "GEOMETRY_OBJECT_IS_NOT_DEFINED" ) || aMess == tr( "GEOMETRY_OBJECT_IS_NULL" ) ) - { - dlg()->show(); - if ( SUIT_MessageBox::warning( myDlg, tr( "SMESH_WRN_WARNING" ), aMess, - SUIT_MessageBox::Yes, SUIT_MessageBox::No ) == SUIT_MessageBox::No ) - return false; - }*/ bool aResult = false; aMess = ""; @@ -744,8 +737,8 @@ bool SMESHGUI_MeshOp::isValid( QString& theMess ) const if ( SUIT_MessageBox::warning( myDlg, tr( "SMESH_WRN_WARNING" ), theMess, SUIT_MessageBox::Yes, SUIT_MessageBox::No ) == SUIT_MessageBox::No ) { - theMess = ""; - return false; + theMess = ""; + return false; } return true; }