diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-12-19 05:51:48 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-12-19 05:51:48 +0000 |
commit | 13f47e0a0f0808f18ce799b45b629c43144d0dff (patch) | |
tree | 8f9bc2f1817ad57fa3c7911a906935e9fb6edb42 | |
parent | e4450217cb337584f2060d75303a6dc6c1474906 (diff) |
only bind to PatchWindow events
svn path=/trunk/scripts/guiplugins/simple_examples/; revision=14668
-rw-r--r-- | editmode_look-plugin.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editmode_look-plugin.tcl b/editmode_look-plugin.tcl index 669d03f..5cfe832 100644 --- a/editmode_look-plugin.tcl +++ b/editmode_look-plugin.tcl @@ -30,4 +30,5 @@ proc set_cords_by_editmode {mytoplevel} { } } -bind all <<EditMode>> {+set_cords_by_editmode %W} +bind PatchWindow <<EditMode>> {+set_cords_by_editmode %W editmode} +bind PatchWindow <<Loaded>> {+set_cords_by_editmode %W loaded} |