]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Update views on the module activation
authorvsv <vsv@opencascade.com>
Thu, 26 Dec 2019 13:55:21 +0000 (16:55 +0300)
committervsv <vsv@opencascade.com>
Thu, 26 Dec 2019 13:55:21 +0000 (16:55 +0300)
src/SMESHGUI/SMESHGUI.cxx

index 1ae2f8db9fd51509b7942c73e66c276d06820548..661a7b09ee6e85d027b67b83f66de7678aca1ff6 100644 (file)
@@ -4984,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);