{
// do nothing in order to do not create a new feature
emit multiSelectionEnabled(false);
- emit stopSelection(myFeatures, true, false);
+ emit setSelection(std::list<XGUI_ViewerPrs>());
+ emit stopSelection(myFeatures, true);
myCurPoint.clear();
}
{
emit multiSelectionEnabled(true);
bool isSelectFeatures = myFeatures.size() > 1;
- emit stopSelection(myFeatures, false, isSelectFeatures);
+ emit stopSelection(myFeatures, false);
+ if (isSelectFeatures)
+ emit setSelection(myFeatures);
+
myFeatures.clear();
}