X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchLabel.cpp;h=2ce6f152e509dc63d733a5228c3e3a327f96f137;hb=1834431e0e067cbb4616f42679562d56af528f5e;hp=6912c64b7601628c526549e08363b443fd8b29d4;hpb=ea26d5770fb0aa9d4a9eafc44a802167eaa0938d;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchLabel.cpp b/src/PartSet/PartSet_WidgetSketchLabel.cpp index 6912c64b7..2ce6f152e 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.cpp +++ b/src/PartSet/PartSet_WidgetSketchLabel.cpp @@ -85,7 +85,7 @@ PartSet_WidgetSketchLabel::~PartSet_WidgetSketchLabel() erasePreviewPlanes(); } -bool PartSet_WidgetSketchLabel::setSelection(ModuleBase_ViewerPrs theValue) +bool PartSet_WidgetSketchLabel::setSelection(const QList& theValues, int& thePosition) { // do not use the given selection if the plane of the sketch has been already set. // If this check is absent, a selected plane in the viewer can be set in the sketch @@ -93,7 +93,7 @@ bool PartSet_WidgetSketchLabel::setSelection(ModuleBase_ViewerPrs theValue) if (plane().get()) return true; - return ModuleBase_WidgetValidated::setSelection(theValue); + return ModuleBase_WidgetValidated::setSelection(theValues, thePosition); } QList PartSet_WidgetSketchLabel::getControls() const