mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 04:40:33 +05:00
clear existing hypotheses in startOperation()
This commit is contained in:
parent
d3b334a737
commit
99f6e04253
@ -225,13 +225,15 @@ void SMESHGUI_MeshOp::startOperation()
|
|||||||
for ( int i = SMESH::DIM_1D; i <= SMESH::DIM_3D; i++ )
|
for ( int i = SMESH::DIM_1D; i <= SMESH::DIM_3D; i++ )
|
||||||
{
|
{
|
||||||
SMESHGUI_MeshTab* aTab = myDlg->tab( i );
|
SMESHGUI_MeshTab* aTab = myDlg->tab( i );
|
||||||
QStringList anAvailable;
|
QStringList hypList;
|
||||||
// clear available hypotheses
|
// clear available hypotheses
|
||||||
aTab->setAvailableHyps( MainHyp, anAvailable );
|
aTab->setAvailableHyps( MainHyp, hypList );
|
||||||
aTab->setAvailableHyps( AddHyp, anAvailable );
|
aTab->setAvailableHyps( AddHyp, hypList );
|
||||||
|
aTab->setExistingHyps( MainHyp, hypList );
|
||||||
|
aTab->setExistingHyps( AddHyp, hypList );
|
||||||
// set algos
|
// set algos
|
||||||
availableHyps( i, Algo, anAvailable, myAvailableHypData[i][Algo] );
|
availableHyps( i, Algo, hypList, myAvailableHypData[i][Algo] );
|
||||||
aTab->setAvailableHyps( Algo, anAvailable );
|
aTab->setAvailableHyps( Algo, hypList );
|
||||||
}
|
}
|
||||||
if ( myToCreate )
|
if ( myToCreate )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user