From: ptv Date: Tue, 31 Oct 2006 12:30:37 +0000 (+0000) Subject: emit signal after remove view manager from application list X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1d069ad8a4d05979cb1db4fdb1281593b41d995a;p=modules%2Fgui.git emit signal after remove view manager from application list --- diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index 7755d6cfa..85b71d09c 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -677,8 +677,6 @@ void STD_Application::removeViewManager( SUIT_ViewManager* vm ) vm->closeAllViews(); - emit viewManagerRemoved( vm ); - vm->disconnectPopupRequest( this, SLOT( onConnectPopupRequest( SUIT_PopupClient*, QContextMenuEvent* ) ) ); disconnect( vm, SIGNAL( activated( SUIT_ViewManager* ) ), this, SLOT( onViewManagerActivated( SUIT_ViewManager* ) ) ); @@ -686,6 +684,8 @@ void STD_Application::removeViewManager( SUIT_ViewManager* vm ) if ( myActiveViewMgr == vm ) myActiveViewMgr = 0; + + emit viewManagerRemoved( vm ); } /*!Remove all view managers from view managers list.*/