From: asl Date: Thu, 12 Oct 2017 16:03:32 +0000 (+0300) Subject: refs #1328: background for overview is updated X-Git-Tag: v2.1~67^2~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e47c7f94a84e1af933ba8bd590fb4f4d1e59013b;p=modules%2Fhydro.git refs #1328: background for overview is updated --- diff --git a/src/HYDROGUI/HYDROGUI_Overview.cxx b/src/HYDROGUI/HYDROGUI_Overview.cxx index 88ba1438..f7185a2f 100644 --- a/src/HYDROGUI/HYDROGUI_Overview.cxx +++ b/src/HYDROGUI/HYDROGUI_Overview.cxx @@ -315,7 +315,7 @@ void HYDROGUI_Overview::setMainView( OCCViewer_ViewFrame* theMainView ) if( !myViewPort ) { myViewPort = new OCCViewer_ViewPort3d( this, myMainView->getViewPort()->getViewer(), V3d_ORTHOGRAPHIC ); - //myViewPort->setBackgroundColor( Qt::white ); + myViewPort->setBackgroundColor( myMainView->getViewPort()->backgroundColor() ); connect( myViewPort, SIGNAL( vpMouseEvent( QMouseEvent* ) ), this, SLOT( OnMouseEvent( QMouseEvent* ) ) );