From: rnv Date: Tue, 23 Jun 2020 13:52:02 +0000 (+0300) Subject: Fix for #19711 [CEA] GUI state after loading a HDF in PARAVIS. X-Git-Tag: V9_5_0rc2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1dbe6c800d27144c88505881a32bdf2f83ceaa4a;p=modules%2Fparavis.git Fix for #19711 [CEA] GUI state after loading a HDF in PARAVIS. --- 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(); } /*!