]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESHGUI/SMESHGUI.cxx
Salome HOME
Update views on the module activation
[modules/smesh.git] / src / SMESHGUI / SMESHGUI.cxx
index e70e976fa935977c6067d09a67eab187c6e2fe6d..661a7b09ee6e85d027b67b83f66de7678aca1ff6 100644 (file)
@@ -1421,6 +1421,7 @@ namespace
             }
             if (!CORBA::is_nil(geomGen)) {
               geomGen->BreakLink(aREntry.toStdString().c_str());
+              SMESHGUI::GetSMESHGUI()->updateObjBrowser();
             }
           }
         }
@@ -4983,8 +4984,10 @@ bool SMESHGUI::activateModule( SUIT_Study* study )
   if ( aDesk ) {
     QList<SUIT_ViewWindow*> wndList = aDesk->windows();
     SUIT_ViewWindow* wnd;
-    foreach ( wnd, wndList )
-      connectView( wnd );
+    foreach(wnd, wndList) {
+      connectView(wnd);
+      wnd->update();
+    }
   }
 
   Py_XDECREF(pluginsmanager);