Commit f3ef61ca authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

Fixed minor regression in undo_cut where first connection was not getting saved

parent 96c560f7
......@@ -617,7 +617,7 @@ static void *canvas_undo_set_cut(t_canvas *x, int mode)
/* store connections into/out of the selection */
buf->u_reconnectbuf = binbuf_new();
linetraverser_start(&t, x);
if (linetraverser_next(&t)) {
//if (linetraverser_next(&t)) {
while (oc = linetraverser_next(&t))
{
int issel1 = glist_isselected(x, &t.tr_ob->ob_g);
......@@ -634,7 +634,7 @@ static void *canvas_undo_set_cut(t_canvas *x, int mode)
t.tr_inno);
}
}
}
//}
if (mode == UCUT_TEXT)
{
buf->u_objectbuf = canvas_docopy(x);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment