diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ld-canvas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ld-canvas.c b/src/ld-canvas.c index 4a5064b..5995c57 100644 --- a/src/ld-canvas.c +++ b/src/ld-canvas.c @@ -886,7 +886,7 @@ on_button_press (GtkWidget *widget, GdkEventButton *event, gpointer user_data) move_object_to_widget_coords (self, data->object, event->x, event->y); if (self->priv->diagram) - ld_diagram_insert_object (self->priv->diagram, data->object, -1); + ld_diagram_insert_object (self->priv->diagram, data->object, 0); /* XXX: "cancel" causes confusion. */ ld_canvas_real_cancel_operation (self); |