diff options
Diffstat (limited to 'views/events')
-rw-r--r-- | views/events/event.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/events/event.cc b/views/events/event.cc index 9f820cf..b729967 100644 --- a/views/events/event.cc +++ b/views/events/event.cc @@ -49,7 +49,7 @@ LocatedEvent::LocatedEvent(const LocatedEvent& model, View* source, View* target) : Event(model), location_(model.location_) { - if (target) + if (target && target != source) View::ConvertPointToView(source, target, &location_); } |