mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-10 07:57:28 +05:00
Fixed Salome crashed after close application with opened "Add Quadratic element"
This commit is contained in:
parent
ea8a0289f1
commit
14fc167a53
@ -933,11 +933,9 @@ void SMESHGUI_AddQuadraticElementDlg::SelectionIntoArgument()
|
||||
|
||||
QString aCurrentEntry = myEntry;
|
||||
|
||||
if ( myCurrentLineEdit )
|
||||
{
|
||||
// clear
|
||||
myActor = 0;
|
||||
|
||||
if ( myCurrentLineEdit )
|
||||
myCurrentLineEdit->setText("");
|
||||
|
||||
if (!GroupButtons->isEnabled()) // inactive
|
||||
@ -966,8 +964,6 @@ void SMESHGUI_AddQuadraticElementDlg::SelectionIntoArgument()
|
||||
|
||||
myActor = SMESH::FindActorByEntry(anIO->getEntry());
|
||||
|
||||
}
|
||||
|
||||
// process groups
|
||||
if ( !myMesh->_is_nil() && myEntry != aCurrentEntry ) {
|
||||
SMESH::ElementType anElementType;
|
||||
|
Loading…
x
Reference in New Issue
Block a user