From e6e2d9f0bccf70f679cd5b84d5bc9a9ea1eda22d Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 4 Mar 2010 09:26:03 +0000 Subject: [PATCH] the actions should be registered in menu and toolbar managers with id given in Application --- src/SUIT/SUIT_Application.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.39.2