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