From d364f29ce32c10800a3127c66b60dd860c78fe53 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 29 Mar 2013 16:01:12 +0000 Subject: [PATCH] 0022145: [CEA 787] Regression on test_display.py --- src/LightApp/LightApp_Application.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 94004265d..9142c8da6 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -486,7 +486,7 @@ void LightApp_Application::createActionForViewer( const int id, void LightApp_Application::createActions() { - STD_Application::createActions(); + CAM_Application::createActions(); SUIT_Desktop* desk = desktop(); SUIT_ResourceMgr* resMgr = resourceMgr(); @@ -3462,7 +3462,7 @@ void LightApp_Application::addViewManager( SUIT_ViewManager* vm ) { connect( vm, SIGNAL( lastViewClosed( SUIT_ViewManager* ) ), this, SLOT( onCloseView( SUIT_ViewManager* ) ) ); - STD_Application::addViewManager( vm ); + CAM_Application::addViewManager( vm ); } /*! @@ -3476,6 +3476,8 @@ void LightApp_Application::removeViewManager( SUIT_ViewManager* vm ) if (aStudy ) aStudy->removeViewMgr(vm->getGlobalId()); + CAM_Application::removeViewManager( vm ); + LightApp_SelectionMgr* selMgr = selectionMgr(); QList selectors; selMgr->selectors( selectors ); @@ -3485,8 +3487,6 @@ void LightApp_Application::removeViewManager( SUIT_ViewManager* vm ) } } - STD_Application::removeViewManager( vm ); - // IPAL22894: Crash on closing OCC view //delete vm; vm->deleteLater(); -- 2.39.2