From: vsr Date: Thu, 21 Jul 2005 11:52:52 +0000 (+0000) Subject: Fix a bug of Selection.ClearFilters() method X-Git-Tag: V3_0_1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=522049d419e807c231a14c8c264e39da8bfc0e14;p=modules%2Fgui.git Fix a bug of Selection.ClearFilters() method --- 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); } } };