mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-29 03:50:33 +05:00
PAL13330 (When mesh generation does not success, trace where)
avoid exception at attempt to compute not a mesh object
This commit is contained in:
parent
ca74cc3727
commit
736455590f
@ -828,6 +828,14 @@ void SMESHGUI_ComputeOp::startOperation()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
SUIT_MessageBox::warn1(desktop(),
|
||||||
|
tr("SMESH_WRN_WARNING"),
|
||||||
|
tr("SMESH_WRN_NO_AVAILABLE_DATA"),
|
||||||
|
tr("SMESH_BUT_OK"));
|
||||||
|
onCancel();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
myDlg->setCaption(tr( computeFailed ? "SMESH_WRN_COMPUTE_FAILED" : "SMESH_COMPUTE_SUCCEED"));
|
myDlg->setCaption(tr( computeFailed ? "SMESH_WRN_COMPUTE_FAILED" : "SMESH_COMPUTE_SUCCEED"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user