From: stv Date: Wed, 1 Jun 2005 08:00:01 +0000 (+0000) Subject: Added "Replot" in method "setBackgroundColor" X-Git-Tag: T3_0_0_a1~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8492024177724405aaded805f200c1adc3360872;p=modules%2Fgui.git Added "Replot" in method "setBackgroundColor" --- diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index 3a9b9fd4c..da1d2c5a6 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -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