From 9002e16b7dbd59378d263b6d2ca93c78c12294cb Mon Sep 17 00:00:00 2001 From: enk Date: Thu, 26 May 2005 14:43:22 +0000 Subject: [PATCH] Fixed method VisuGUI_AxisWg::Apply(...) where was incorrect update of labels colors --- src/VISUGUI/VisuGUI_CubeAxesDlg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx b/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx index 46fe1073..e0589924 100755 --- a/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx @@ -363,6 +363,7 @@ bool VisuGUI_AxisWg::Apply( vtkAxisActor2D* theActor ) aLabelsProp->SetItalic( isLabelsItalic ? 1 : 0 ); aLabelsProp->SetShadow( isLabelsShadow ? 1 : 0 ); + aLabelsProp->Modified(); theActor->SetLabelTextProperty( aLabelsProp ); } @@ -372,7 +373,7 @@ bool VisuGUI_AxisWg::Apply( vtkAxisActor2D* theActor ) int aTickLength = myTickLength->text().toInt( &isOk ); if ( isOk ) theActor->SetTickLength( aTickLength ); - + return true; } @@ -523,6 +524,7 @@ bool VisuGUI_CubeAxesDlg::onApply() isOk = isOk && myAxes[ 1 ]->Apply( anActor->GetYAxisActor2D() ); isOk = isOk && myAxes[ 2 ]->Apply( anActor->GetZAxisActor2D() ); + //anActor->SetXLabel( myAxes[ 0 ]->myAxisName->text() ); //anActor->SetYLabel( myAxes[ 1 ]->myAxisName->text() ); //anActor->SetZLabel( myAxes[ 2 ]->myAxisName->text() ); -- 2.39.2