]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for bug IPAL19692 (Qt4 porting: SIGSEGV after applying "ShowPart()").
authormzn <mzn@opencascade.com>
Fri, 4 Jul 2008 08:16:45 +0000 (08:16 +0000)
committermzn <mzn@opencascade.com>
Fri, 4 Jul 2008 08:16:45 +0000 (08:16 +0000)
src/VISU_I/VISU_View_i.cc

index 36f04a1a4d22040eeddf6101393ee0a513e8774d..7e94ce880024907e2f4050e7f968825ee1bae2c2 100644 (file)
@@ -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:
        {