aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-08-16 18:39:28 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-08-16 18:39:28 +0000
commita1ec9f35b48fe28370c5f7b16d5dc8a450ba24a0 (patch)
treec524395fe668d00f733bc312942b786a92ae354a
parent379289ccb91cd5ee0d68ae6a80088e658ac8f2ce (diff)
bind only to PatchWindow class since that's the only windows that show cords
svn path=/trunk/scripts/guiplugins/simple_examples/; revision=15222
-rw-r--r--cordarrows-plugin.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cordarrows-plugin.tcl b/cordarrows-plugin.tcl
index abf71ef..1c35a6d 100644
--- a/cordarrows-plugin.tcl
+++ b/cordarrows-plugin.tcl
@@ -13,4 +13,4 @@ proc add_arrows_to_cords {mytoplevel} {
}
-bind all <<EditMode>> {+add_arrows_to_cords %W}
+bind PatchWindow <<EditMode>> {+add_arrows_to_cords %W}