]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Fix for #19711 [CEA] GUI state after loading a HDF in PARAVIS. V9_5_BR fixes_for_950 V9_5_0 V9_5_0rc2 V9_5_0rc3
authorrnv <rnv@opencascade.com>
Tue, 23 Jun 2020 13:52:02 +0000 (16:52 +0300)
committerrnv <rnv@opencascade.com>
Tue, 23 Jun 2020 13:52:02 +0000 (16:52 +0300)
src/PVGUI/PVGUI_Module.cxx

index 7109793807b48fbf7cbe47697276a42c50a8ef36..3119a5cf7275c5b3bd8c534f0e38079ae0b28f22 100644 (file)
 #include <pqAnimationTimeToolbar.h>
 #include <pqPipelineBrowserWidget.h>
 #include <pqCoreUtilities.h>
+#include <pqLoadStateReaction.h>
 
 #if PY_VERSION_HEX < 0x03050000
 static char*
@@ -877,6 +878,7 @@ void PVGUI_Module::clearParaviewState()
 void PVGUI_Module::loadParaviewState( const QString& theFileName )
 {
   pqApplicationCore::instance()->loadState( theFileName.toStdString().c_str(), getActiveServer() );
+  pqLoadStateReaction::activateView();
 }
 
 /*!