From: asl Date: Thu, 4 Mar 2010 09:26:03 +0000 (+0000) Subject: the actions should be registered in menu and toolbar managers with id given in Applic... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e6e2d9f0bccf70f679cd5b84d5bc9a9ea1eda22d;p=modules%2Fgui.git the actions should be registered in menu and toolbar managers with id given in Application --- diff --git a/src/SUIT/SUIT_Application.cxx b/src/SUIT/SUIT_Application.cxx index e1393b9bb..f8772f951 100755 --- a/src/SUIT/SUIT_Application.cxx +++ b/src/SUIT/SUIT_Application.cxx @@ -644,10 +644,10 @@ int SUIT_Application::registerAction( const int id, QAction* a ) myActionMap.insert( ident, a ); if ( desktop() && desktop()->menuMgr() ) - desktop()->menuMgr()->registerAction( a ); + desktop()->menuMgr()->registerAction( a, id ); if ( desktop() && desktop()->toolMgr() ) - desktop()->toolMgr()->registerAction( a ); + desktop()->toolMgr()->registerAction( a, id ); if ( desktop() ) desktop()->addAction( a );