mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +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++ )
|
||||
{
|
||||
SMESHGUI_MeshTab* aTab = myDlg->tab( i );
|
||||
QStringList anAvailable;
|
||||
QStringList hypList;
|
||||
// clear available hypotheses
|
||||
aTab->setAvailableHyps( MainHyp, anAvailable );
|
||||
aTab->setAvailableHyps( AddHyp, anAvailable );
|
||||
aTab->setAvailableHyps( MainHyp, hypList );
|
||||
aTab->setAvailableHyps( AddHyp, hypList );
|
||||
aTab->setExistingHyps( MainHyp, hypList );
|
||||
aTab->setExistingHyps( AddHyp, hypList );
|
||||
// set algos
|
||||
availableHyps( i, Algo, anAvailable, myAvailableHypData[i][Algo] );
|
||||
aTab->setAvailableHyps( Algo, anAvailable );
|
||||
availableHyps( i, Algo, hypList, myAvailableHypData[i][Algo] );
|
||||
aTab->setAvailableHyps( Algo, hypList );
|
||||
}
|
||||
if ( myToCreate )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user