mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 01:30:33 +05:00
Fix for the problem: click "Apply" button unselects mesh.
This commit is contained in:
parent
6d21d95e08
commit
4d3a3d10b2
@ -384,10 +384,10 @@ bool SMESHGUI_ExtrusionDlg::ClickOnApply()
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
Init(false);
|
||||
ConstructorsClicked(GetConstructorId());
|
||||
SelectionIntoArgument();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -469,10 +469,10 @@ void SMESHGUI_RevolutionDlg::ClickOnApply()
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
Init(false);
|
||||
ConstructorsClicked(GetConstructorId());
|
||||
SelectionIntoArgument();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -424,9 +424,9 @@ void SMESHGUI_RotationDlg::ClickOnApply()
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
Init(false);
|
||||
SelectionIntoArgument();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -485,10 +485,10 @@ void SMESHGUI_SymmetryDlg::ClickOnApply()
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
Init(false);
|
||||
ConstructorsClicked(GetConstructorId());
|
||||
SelectionIntoArgument();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -447,10 +447,10 @@ void SMESHGUI_TranslationDlg::ClickOnApply()
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
mySelectionMgr->clearSelected();
|
||||
SMESH::UpdateView();
|
||||
Init(false);
|
||||
ConstructorsClicked(GetConstructorId());
|
||||
SelectionIntoArgument();
|
||||
}
|
||||
}
|
||||
|
||||
@ -624,7 +624,7 @@ void SMESHGUI_TranslationDlg::SelectionIntoArgument()
|
||||
aNbUnits = anElementsIds->length();
|
||||
}
|
||||
} else {
|
||||
aNbUnits = SMESH::GetNameOfSelectedElements(mySelector, myActor->getIO(), aString);
|
||||
aNbUnits = SMESH::GetNameOfSelectedElements(mySelector, IO, aString);
|
||||
myElementsId = aString;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user