From 1dbe6c800d27144c88505881a32bdf2f83ceaa4a Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 23 Jun 2020 16:52:02 +0300 Subject: [PATCH] Fix for #19711 [CEA] GUI state after loading a HDF in PARAVIS. --- src/PVGUI/PVGUI_Module.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PVGUI/PVGUI_Module.cxx b/src/PVGUI/PVGUI_Module.cxx index 71097938..3119a5cf 100644 --- a/src/PVGUI/PVGUI_Module.cxx +++ b/src/PVGUI/PVGUI_Module.cxx @@ -125,6 +125,7 @@ #include #include #include +#include #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(); } /*! -- 2.39.2