From 003964ea4e0946fe1ceb721cf68bd61db2469538 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Sat, 19 Sep 2015 21:54:16 -0400
Subject: [PATCH] fix regression with setting dirty flag after editing obj/msg
 box

---
 pd/src/g_editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c
index 5f19bddb8..798e965f5 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;
-- 
GitLab