From 336e0f7429c6e906002e63ad4e2877bb94a01625 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@monsoon-hp.(none)>
Date: Thu, 8 Mar 2012 21:47:12 -0500
Subject: [PATCH] minor console output error when invoking autotips with
 console focused.

---
 src/pd.tk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/pd.tk b/src/pd.tk
index 475a9ba80..0cf2542b0 100644
--- a/src/pd.tk
+++ b/src/pd.tk
@@ -3246,6 +3246,9 @@ proc pdtk_canvas_ctrlkey {name key shift} {
 		if {$key == "4"} {menu_symbolatom $topname 1}
 		if {$key == "5"} {menu_comment $topname 1}
     	if {$key == "Return"} {menu_reselect $topname}
+		if {$shift == 1} {
+			if {$key == "E"} {menu_tooltips $topname}
+		}
 	}
     if {$key == "slash"} {menu_audio 1}
     if {$key == "period"} {menu_audio 0}
@@ -3253,7 +3256,6 @@ proc pdtk_canvas_ctrlkey {name key shift} {
         if {$key == "q" || $key == "Q"} {menu_really_quit}
         if {$key == "l" || $key == "L"} {menu_clear_console}
         if {$key == "r" || $key == "R"} {menu_toggle_console}
-		if {$key == "E"} {menu_tooltips $topname}
 		if {$key == "Return"} {pdtk_zoom_reset $topname}
 		if {!$ignore} {
 	        if {$key == "w" || $key == "W"} {menu_really_close $topname}
-- 
GitLab