Don't select the start handle when a line is selected due to a click on the end handle in the drag visual tool

Originally committed to SVN as r6550.
This commit is contained in:
Thomas Goyne 2012-03-09 00:23:14 +00:00
parent 229daa9874
commit eea914fa48

View file

@ -162,7 +162,7 @@ void VisualToolDrag::OnSelectedSetChanged(const Selection &added, const Selectio
sel_features.erase(it);
any_changed = true;
}
else if (added.count(it->line) && it->type == DRAG_START) {
else if (added.count(it->line) && it->type == DRAG_START && !sel_features.count(it->parent)) {
sel_features.insert(it);
any_changed = true;
}