From 96b43c6766fd0a7163fb253311bc5be4c50947a0 Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Fri, 4 Jan 2013 22:22:26 -0500 Subject: [PATCH] Deselect text when clicking outside it. --- svlgui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/svlgui.py b/svlgui.py index 8e1bb99..dcb4081 100644 --- a/svlgui.py +++ b/svlgui.py @@ -2572,6 +2572,8 @@ class Group (object): self.activelayer.currentselect._onMouseDown(self.activelayer.currentselect, x, y) else: if MODE in [" ", "s", "b"]: + if CURRENTTEXT: + CURRENTTEXT.editing = False if self.activelayer.currentselect and MODE=="s": global SCALING if (self.activelayer.currentselect.minx-5