From 522049d419e807c231a14c8c264e39da8bfc0e14 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 21 Jul 2005 11:52:52 +0000 Subject: [PATCH] Fix a bug of Selection.ClearFilters() method --- src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx index 929b3d323..87fdbb714 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx @@ -124,6 +124,7 @@ void SALOME_Selection::ClearFilters() mySelMgr->clearFilters(); } }; + ProcessVoidEvent( new TEvent( mySelMgr ) ); } //==================================================================================== @@ -1140,15 +1141,11 @@ public: myStatusText( statusText ), myIcon( icon ), myKey( key ), myToggle( toggle ) {} virtual void Execute() { if ( SalomeApp_Application* anApp = getApplication() ) { - printf("TCreateActionEvent::Execute() - 1\n"); SALOME_PYQT_Module* module = SALOME_PYQT_Module::getInitModule(); - printf("TCreateActionEvent::Execute() - 2: module = %d\n",module); if ( !module ) module = dynamic_cast( anApp->activeModule() ); - printf("TCreateActionEvent::Execute() - 3: module = %d\n",module); if ( module ) myResult = module->createAction( myId, myTipText, myIcon, myMenuText, myStatusText, myKey, myToggle ); - printf("TCreateActionEvent::Execute() - 4: myResult = %d\n",myResult); } } }; -- 2.39.2