Deselect text when clicking outside it.

This commit is contained in:
Skyler Lehmkuhl 2013-01-04 22:22:26 -05:00
parent 43196e8efb
commit 96b43c6766
1 changed files with 2 additions and 0 deletions

View File

@ -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<x<self.activelayer.currentselect.minx+5 and \