Salome HOME
Fix a bug caused by the previous integration. V3_1_0a1
authorvsr <vsr@opencascade.com>
Fri, 30 Sep 2005 06:35:34 +0000 (06:35 +0000)
committervsr <vsr@opencascade.com>
Fri, 30 Sep 2005 06:35:34 +0000 (06:35 +0000)
src/SALOME_PYQT/SALOME_PYQT_GUI/SALOME_PYQT_Module.cxx

index 8267e67a1de2ad222a68c5e2ff226c8f32a4622e..a57726feab220227c5ca199eb6b6eefdb07278d7 100644 (file)
@@ -314,12 +314,6 @@ void SALOME_PYQT_Module::onGUIEvent()
 
   // get action ID
   int id = actionId( action );
-  if ( myMenuActionList.contains( action ) )
-    id -= PYQT_ACTION_MENU;
-  if ( myToolbarActionList.contains( action ) )
-    id -= PYQT_ACTION_TOOLBAL;
-  if ( myPopupActionList.contains( action ) )
-    id -= PYQT_ACTION_POPUP;
   MESSAGE( "SALOME_PYQT_Module::onGUIEvent: id = " << id );
 
   // perform synchronous request to Python event dispatcher