*/
void VisuGUI_CutPlanesPane::orientationChanged (int Id)
{
- if (Id == 0) { // RBxy->isChecked()
+ if ( RBxy->isChecked() ) { // RBxy->isChecked()
LabelRot1->setText(tr("LBL_ROT_X"));
LabelRot2->setText(tr("LBL_ROT_Y"));
- } else if (Id == 1) { // RByz->isChecked()
+ } else if ( RByz->isChecked() ) { // RByz->isChecked()
LabelRot1->setText(tr("LBL_ROT_Y"));
LabelRot2->setText(tr("LBL_ROT_Z"));
- } else {
+ } else if ( RBzx->isChecked() ) {
LabelRot1->setText(tr("LBL_ROT_Z"));
LabelRot2->setText(tr("LBL_ROT_X"));
}