]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #219 Clear selected list if selection type changed
authorsbh <sergey.belash@opencascade.com>
Fri, 31 Oct 2014 14:04:48 +0000 (17:04 +0300)
committersbh <sergey.belash@opencascade.com>
Fri, 31 Oct 2014 14:04:48 +0000 (17:04 +0300)
src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp

index 514d67d23a8e97fa481f6106d416801917eaad05..227ec15863e74c2b089aca04513948391bc7e7c7 100644 (file)
@@ -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));