mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 22:10:34 +05:00
INT PAL 0052834: Widget in the "Viscous layers" hypothesis isn't updated
This commit is contained in:
parent
8ab62ff6f4
commit
0d543c5902
@ -1617,9 +1617,10 @@ void StdMeshersGUI_StdHypothesisCreator::valueChanged( QWidget* paramWidget)
|
||||
}
|
||||
else if ( hypType().startsWith( "ViscousLayers" ) && paramWidget->inherits("QButtonGroup"))
|
||||
{
|
||||
if ( QLabel* label = getLabel(4) )
|
||||
int widgetNumber = hypType() == "ViscousLayers2D" ? 3 : 4;
|
||||
if ( QLabel* label = getLabel( widgetNumber + 1 ) )
|
||||
{
|
||||
bool toIgnore = widget< StdMeshersGUI_RadioButtonsGrpWdg >( 3 )->checkedId();
|
||||
bool toIgnore = widget< StdMeshersGUI_RadioButtonsGrpWdg >( widgetNumber )->checkedId();
|
||||
if ( hypType() == "ViscousLayers2D" )
|
||||
label->setText( tr( toIgnore ? "SMESH_EDGES_WO_LAYERS" : "SMESH_EDGES_WITH_LAYERS" ));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user