From aac770867687ad52fdf27d866b71144bb26f863b Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 4 Jul 2008 08:16:45 +0000 Subject: [PATCH] Fix for bug IPAL19692 (Qt4 porting: SIGSEGV after applying "ShowPart()"). --- src/VISU_I/VISU_View_i.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: { -- 2.39.2