]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
0023270: [CEA 1822] PARAVIS GUI widgets should be instanciated only when needed:...
authorrnv <rnv@opencascade.com>
Fri, 17 Jun 2016 13:03:03 +0000 (16:03 +0300)
committerrnv <rnv@opencascade.com>
Fri, 17 Jun 2016 13:03:03 +0000 (16:03 +0300)
src/PVGUI/PVGUI_Module_widgets.cxx

index 4e1fef2e41219c06c81bf39bf5036409c699d6ae..8da50c9eeba5f624afcf165ef5b89bf2c9c29196 100644 (file)
@@ -242,8 +242,9 @@ void PVGUI_Module::setupDockWidgets()
   pqPVAnimationWidget* animation_panel = new ResizeHelper(animationViewDock); // [ABN] was resizeHelper
 
   // RNV: Emit signal in order to make sure that animation scene is set
-  emit pqPVApplicationCore::instance()->animationManager()->activeSceneChanged(
-     pqPVApplicationCore::instance()->animationManager()->getActiveScene());
+  QMetaObject::invokeMethod( pqPVApplicationCore::instance()->animationManager(),
+                            "activeSceneChanged",
+                            Q_ARG( pqAnimationScene*, pqPVApplicationCore::instance()->animationManager()->getActiveScene() ) );
 
   animationViewDock->setWidget(animation_panel);
   myDockWidgets[animationViewDock] = false; // hidden by default