From: vsr Date: Wed, 7 Apr 2010 14:23:34 +0000 (+0000) Subject: Fix hang-up caused by merge of OSCAR porting results X-Git-Tag: V5_1_4a1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2ae34cca3a61bed02ead4c52743d2b94d57835a0;p=modules%2Fgui.git Fix hang-up caused by merge of OSCAR porting results --- diff --git a/src/LightApp/LightApp_ModuleAction.cxx b/src/LightApp/LightApp_ModuleAction.cxx index 36c6fa77b..9986c71d9 100755 --- a/src/LightApp/LightApp_ModuleAction.cxx +++ b/src/LightApp/LightApp_ModuleAction.cxx @@ -462,6 +462,7 @@ void LightApp_ModuleAction::update( QtxComboBox* cb ) if ( !cb ) return; + bool blocked = cb->blockSignals( true ); int curId = mySet->moduleId( active() ); QList alist = mySet->actions(); cb->clear(); @@ -478,6 +479,7 @@ void LightApp_ModuleAction::update( QtxComboBox* cb ) } cb->setCurrentId( curId ); + cb->blockSignals( blocked ); } /*!