Salome HOME
Fix for #19711 [CEA] GUI state after loading a HDF in PARAVIS.
[modules/paravis.git] / 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();
 }
 
 /*!