mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 17:10: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 (...) {
|
} catch (...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
mySelectionMgr->clearSelected();
|
|
||||||
SMESH::UpdateView();
|
SMESH::UpdateView();
|
||||||
Init(false);
|
Init(false);
|
||||||
ConstructorsClicked(GetConstructorId());
|
ConstructorsClicked(GetConstructorId());
|
||||||
|
SelectionIntoArgument();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -469,10 +469,10 @@ void SMESHGUI_RevolutionDlg::ClickOnApply()
|
|||||||
} catch (...) {
|
} catch (...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
mySelectionMgr->clearSelected();
|
|
||||||
SMESH::UpdateView();
|
SMESH::UpdateView();
|
||||||
Init(false);
|
Init(false);
|
||||||
ConstructorsClicked(GetConstructorId());
|
ConstructorsClicked(GetConstructorId());
|
||||||
|
SelectionIntoArgument();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -424,9 +424,9 @@ void SMESHGUI_RotationDlg::ClickOnApply()
|
|||||||
} catch (...) {
|
} catch (...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
mySelectionMgr->clearSelected();
|
|
||||||
SMESH::UpdateView();
|
SMESH::UpdateView();
|
||||||
Init(false);
|
Init(false);
|
||||||
|
SelectionIntoArgument();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -485,10 +485,10 @@ void SMESHGUI_SymmetryDlg::ClickOnApply()
|
|||||||
} catch (...) {
|
} catch (...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
mySelectionMgr->clearSelected();
|
|
||||||
SMESH::UpdateView();
|
SMESH::UpdateView();
|
||||||
Init(false);
|
Init(false);
|
||||||
ConstructorsClicked(GetConstructorId());
|
ConstructorsClicked(GetConstructorId());
|
||||||
|
SelectionIntoArgument();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -447,10 +447,10 @@ void SMESHGUI_TranslationDlg::ClickOnApply()
|
|||||||
} catch (...) {
|
} catch (...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
mySelectionMgr->clearSelected();
|
|
||||||
SMESH::UpdateView();
|
SMESH::UpdateView();
|
||||||
Init(false);
|
Init(false);
|
||||||
ConstructorsClicked(GetConstructorId());
|
ConstructorsClicked(GetConstructorId());
|
||||||
|
SelectionIntoArgument();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -624,7 +624,7 @@ void SMESHGUI_TranslationDlg::SelectionIntoArgument()
|
|||||||
aNbUnits = anElementsIds->length();
|
aNbUnits = anElementsIds->length();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
aNbUnits = SMESH::GetNameOfSelectedElements(mySelector, myActor->getIO(), aString);
|
aNbUnits = SMESH::GetNameOfSelectedElements(mySelector, IO, aString);
|
||||||
myElementsId = aString;
|
myElementsId = aString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user