]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1328: background for overview is updated
authorasl <asl@opencascade.com>
Thu, 12 Oct 2017 16:03:32 +0000 (19:03 +0300)
committerasl <asl@opencascade.com>
Thu, 12 Oct 2017 16:03:32 +0000 (19:03 +0300)
src/HYDROGUI/HYDROGUI_Overview.cxx

index 88ba1438ab4603e76315061b57d17c9ba3d9927f..f7185a2fa587e21e7bfc29fc0612b1cf77eef8aa 100644 (file)
@@ -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* ) ) );