when dragging multiple markers, move them all, and move them correctly

This commit is contained in:
Paul Davis 2015-02-05 19:32:41 -05:00
parent 31e6f73bd3
commit 6e4ad5fc47

View file

@ -3384,7 +3384,9 @@ MarkerDrag::motion (GdkEvent*, bool)
but without actually moving the real Location (yet)
*/
_marker->set_position (copy_location->start(), copy_location->end());
for (vector<Marker*>::iterator m = x->markers.begin(); m != x->markers.end(); ++m) {
(*m)->set_position (copy_location->start(), copy_location->end());
}
}
assert (!_copied_locations.empty());