From: sbh Date: Fri, 31 Oct 2014 14:04:48 +0000 (+0300) Subject: Issue #219 Clear selected list if selection type changed X-Git-Tag: V_0.5~42^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fc6da0810f1fa783b09e5a41f11dfb43ba9c7e02;p=modules%2Fshaper.git Issue #219 Clear selected list if selection type changed --- diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp index 514d67d23..227ec1586 100644 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp @@ -242,6 +242,7 @@ void ModuleBase_WidgetMultiSelector::activateSelection(bool toActivate) //******************************************************************** void ModuleBase_WidgetMultiSelector::onSelectionTypeChanged() { + myListControl->clear(); QString aNewType = myTypeCombo->currentText(); QIntList aList; aList.append(ModuleBase_WidgetShapeSelector::shapeType(aNewType));