]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/genericgui/GenericGui.cxx
Salome HOME
Return deleted code.
[modules/yacs.git] / src / genericgui / GenericGui.cxx
index bca1cd3efb91a69c651f3a8ef50dae671e8142d1..cd53c27745cee1ab47816f7c8fb2e85f97699e28 100644 (file)
@@ -1089,6 +1089,7 @@ void GenericGui::createContext(YACS::ENGINE::Proc* proc,
   GraphicsView* gView = new GraphicsView(viewWindow);
   gView->setScene(scene);
   gView->setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
+  _wrapper->AssociateViewToWindow(gView, viewWindow);
   context->setScene(scene);
   context->setView(gView);
   context->setWindow(viewWindow);