diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index 9bd042b24b84a25cfe47e03c309193de4e5067e9..5f19bddb819574c796475026fc054f98f23a60c4 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -7694,7 +7694,8 @@ static void canvas_createobj(t_canvas *x, t_symbol *s, int argc, t_atom *argv) // rtext_settext(rtext, buf, length); // binbuf_free(b); // Set the dirty flag since we've changed the rtext content... - x->gl_editor->e_textdirty = 1; + canvas_dirty(x, 1); + //x->gl_editor->e_textdirty = 1; if (s == gensym("createobj")) glist_deselect(x, y); // instantiate break;