Salome HOME
Bug 9189:
authorasl <asl@opencascade.com>
Fri, 17 Jun 2005 06:28:52 +0000 (06:28 +0000)
committerasl <asl@opencascade.com>
Fri, 17 Jun 2005 06:28:52 +0000 (06:28 +0000)
On any action in SMESH there is update of OB
The update is occured only by actions whose need it

src/SMESHGUI/SMESHGUI.cxx
src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx

index 1688eb8bd481694a490cfacc9dfb2e0545f5eeb3..2f5e5f6221eff8b63e8cbc01ef7d4abc6ee9f9ee 100644 (file)
@@ -1352,6 +1352,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
                              tr("SMESH_WRN_VIEWER_VTK"),
                              tr("SMESH_BUT_OK"));
       }
                              tr("SMESH_WRN_VIEWER_VTK"),
                              tr("SMESH_BUT_OK"));
       }
+      updateObjBrowser();
       break;
     }
 
       break;
     }
 
@@ -1894,6 +1895,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
           }
         }
       }
           }
         }
       }
+      updateObjBrowser( true );
       break;
     }
 
       break;
     }
 
@@ -2279,7 +2281,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
 
   }
 
 
   }
 
-  updateObjBrowser();
+  //updateObjBrowser();
   return true;
 }
 
   return true;
 }
 
index 3e5f9242a3981153f2009ff75c33707400f7791e..b03e461acfa5b09f9cf2e31b22f9c6835515eccf 100644 (file)
@@ -350,6 +350,7 @@ bool SMESHGUI_EditHypothesesDlg::ClickOnApply()
   }
 
   UpdateControlState();
   }
 
   UpdateControlState();
+  mySMESHGUI->updateObjBrowser();
 
   return aRes;
 }
 
   return aRes;
 }