Salome HOME
Fix for IPAL10509 : Color of nodes is lost: was yellow - now is like background.
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_CanvasNodePrs.cxx
index 736af094c3ff8962e2590ba3c504163a4a21b5e2..d82abd2a81bec413dc67b51a4faebf7120ff500c 100644 (file)
@@ -53,7 +53,7 @@ SUPERVGUI_CanvasNodePrs::SUPERVGUI_CanvasNodePrs( SUIT_ResourceMgr* mgr, QCanvas
   myPortVisible = true;
   myCellPrs = theCellPrs;
 
-  myColor = mgr->colorValue( "SUPERVGraph", "Background", DEF_MAIN_BACK );
+  myColor = mgr->colorValue( "SUPERVGraph", "NodeBody", DEF_MAIN_BACK );
 
   if (!myCellPrs) {
     // create in/out connection points prs
@@ -750,7 +750,7 @@ void SUPERVGUI_CanvasNodePrs::setState(SUPERV::GraphState theState)
 
   default:
     myStatus = "No Status";
-    myStatusColor = myMgr->colorValue( "SUPERVGraph", "Background", DEF_MAIN_BACK );
+    myStatusColor = myMgr->colorValue( "SUPERVGraph", "NodeBody", DEF_MAIN_BACK );
     break;
   }