From: mzn Date: Fri, 4 Jul 2008 08:16:45 +0000 (+0000) Subject: Fix for bug IPAL19692 (Qt4 porting: SIGSEGV after applying "ShowPart()"). X-Git-Tag: before_mergefrom_BR_Dev_For_4_0_07Jul08~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aac770867687ad52fdf27d866b71144bb26f863b;p=modules%2Fvisu.git Fix for bug IPAL19692 (Qt4 porting: SIGSEGV after applying "ShowPart()"). --- diff --git a/src/VISU_I/VISU_View_i.cc b/src/VISU_I/VISU_View_i.cc index 36f04a1a..7e94ce88 100644 --- a/src/VISU_I/VISU_View_i.cc +++ b/src/VISU_I/VISU_View_i.cc @@ -148,13 +148,13 @@ namespace VISU { { switch(myViewRepresentation){ case VISU::View::OBJECTBROWSER: - myApplication->dockWindow( SalomeApp_Application::WT_ObjectBrowser )->setVisible( myState ); + myApplication->getWindow( SalomeApp_Application::WT_ObjectBrowser )->setVisible( myState ); break; case VISU::View::PYTHON: - myApplication->dockWindow( SalomeApp_Application::WT_PyConsole )->setVisible( myState ); + myApplication->getWindow( SalomeApp_Application::WT_PyConsole )->setVisible( myState ); break; case VISU::View::MESSAGES: - myApplication->dockWindow( SalomeApp_Application::WT_LogWindow )->setVisible( myState ); + myApplication->getWindow( SalomeApp_Application::WT_LogWindow )->setVisible( myState ); break; case VISU::View::VIEWER: {