mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 01:10:36 +05:00
Field dimension by default is shape_type-1 (i.e. FACES for Solid, VERTICES for Edge etc)
This commit is contained in:
parent
bd18132032
commit
35ad5f0712
@ -1177,8 +1177,8 @@ void EntityGUI_FieldDlg::SelectionIntoArgument()
|
|||||||
myEditCurrentArgument = 0;
|
myEditCurrentArgument = 0;
|
||||||
|
|
||||||
// re-fill myDimCombo
|
// re-fill myDimCombo
|
||||||
const int curDim = getDim();
|
//const int curDim = getDim();
|
||||||
updateDims( curDim );
|
updateDims( -1 );
|
||||||
|
|
||||||
// update table
|
// update table
|
||||||
onDimChange();
|
onDimChange();
|
||||||
@ -1584,7 +1584,7 @@ void EntityGUI_FieldDlg::updateDims(int curDim)
|
|||||||
}
|
}
|
||||||
myDimCombo->insertItem( 4, tr("WHOLE"), -1 );
|
myDimCombo->insertItem( 4, tr("WHOLE"), -1 );
|
||||||
if ( getDim() != curDim )
|
if ( getDim() != curDim )
|
||||||
myDimCombo->setCurrentIndex( myDimCombo->count()-1 );
|
myDimCombo->setCurrentIndex( myDimCombo->count()-1-(myDimCombo->count()>1?1:0) );
|
||||||
}
|
}
|
||||||
myDimCombo->blockSignals( false );
|
myDimCombo->blockSignals( false );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user