]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix hang-up caused by merge of OSCAR porting results
authorvsr <vsr@opencascade.com>
Wed, 7 Apr 2010 14:23:34 +0000 (14:23 +0000)
committervsr <vsr@opencascade.com>
Wed, 7 Apr 2010 14:23:34 +0000 (14:23 +0000)
src/LightApp/LightApp_ModuleAction.cxx

index 36c6fa77bb5d7352fb3463871a3daf16b410e045..9986c71d9ab1ca2315392b831789bba4e24861f3 100755 (executable)
@@ -462,6 +462,7 @@ void LightApp_ModuleAction::update( QtxComboBox* cb )
   if ( !cb )
     return;
 
+  bool blocked = cb->blockSignals( true );
   int curId = mySet->moduleId( active() );
   QList<QAction*> alist = mySet->actions();
   cb->clear();
@@ -478,6 +479,7 @@ void LightApp_ModuleAction::update( QtxComboBox* cb )
   }
 
   cb->setCurrentId( curId );
+  cb->blockSignals( blocked );
 }
 
 /*!