From 6b180cc4679e9fd28f513c9150c4202d63e20e70 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Thu, 19 Jul 2012 13:15:50 -0400
Subject: [PATCH] minor fix for K12 module (tooltip enabling)

---
 src/g_text.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/g_text.c b/src/g_text.c
index 126e3faed..4cf7b97e8 100644
--- a/src/g_text.c
+++ b/src/g_text.c
@@ -295,6 +295,10 @@ void canvas_obj_abstraction_from_menu(t_glist *gl, t_symbol *s, int argc, t_atom
     int connectme, xpix, ypix, indx, nobj;
     canvas_howputnew(gl, &connectme, &xpix, &ypix, &indx, &nobj);
     pd_vmess(&gl->gl_pd, gensym("editmode"), "i", 1);
+#ifdef PDL2ORK
+	if (sys_k12_mode)
+		pd_vmess (&gl->gl_pd, gensym("tooltips"), "i", 1);
+#endif
     canvas_objtext(gl, xpix+atom_getintarg(1, argc, argv), ypix+atom_getintarg(2, argc, argv), 1, b);
 
     if (connectme) {
-- 
GitLab