From ff9d3dde33e79da1dd843ea037fcb0ac3ce1ac92 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 31 Jan 2006 10:34:58 +0000 Subject: [PATCH] Fix SIGSEGV in updateObjectBrowser() when reading a study --- src/SalomeApp/SalomeApp_Application.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index 420961e05..f0b2af9d2 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -757,7 +757,7 @@ void SalomeApp_Application::updateObjectBrowser( const bool updateModels ) if ( aComponent->ComponentDataType() == "Interface Applicative" ) continue; // skip the magic "Interface Applicative" component - OB_Browser* ob = objectBrowser(); + OB_Browser* ob = static_cast( getWindow( WT_ObjectBrowser )); const bool isAutoUpdate = ob->isAutoUpdate(); ob->setAutoUpdate( false ); SalomeApp_DataModel::synchronize( aComponent, study ); -- 2.39.2