]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Added "Replot" in method "setBackgroundColor"
authorstv <stv@opencascade.com>
Wed, 1 Jun 2005 08:00:01 +0000 (08:00 +0000)
committerstv <stv@opencascade.com>
Wed, 1 Jun 2005 08:00:01 +0000 (08:00 +0000)
src/Plot2d/Plot2d_ViewFrame.cxx

index 3a9b9fd4cc4b8195f891c5ca6d886919c61257e8..da1d2c5a6b0bf45a586480ee01feafe5b496e1a2 100755 (executable)
@@ -1120,6 +1120,7 @@ void Plot2d_ViewFrame::setBackgroundColor( const QColor& color )
     aPal.setColor( cg, QColorGroup::Background, myBackground );
   }
   myPlot->getLegend()->setPalette( aPal );
+  Repaint();
 }
 /*!
   Gets background color