From 2ae34cca3a61bed02ead4c52743d2b94d57835a0 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 7 Apr 2010 14:23:34 +0000 Subject: [PATCH] Fix hang-up caused by merge of OSCAR porting results --- src/LightApp/LightApp_ModuleAction.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 ); } /*! -- 2.39.2