diff options
author | DonScorgie <DonScorgie@8f060a39-251c-0410-b1f3-431655927647> | 2008-03-21 16:07:00 (GMT) |
---|---|---|
committer | DonScorgie <DonScorgie@8f060a39-251c-0410-b1f3-431655927647> | 2008-03-21 16:07:00 (GMT) |
commit | afed1fd8dd2a2a6fe44115f6d8a311e0fd044d2f (patch) | |
tree | b67e8ffbfecf45ef08a4d577fa1fdc506947ac2b /src/TextThought.py | |
parent | 655ee75e3f70322c40629e1b1781bc16af51cf2b (diff) |
* src/TextThought.py:
* src/BaseThought.py:
* src/Links.py:
* src/DrawingThought.py:
Fix potential exception on map opening
* src/DrawingThought.py:
Give all points their own unique colour
* src/MMapArea.py:
Update the colour selectors when loading
a map
git-svn-id: http://labyrinth.googlecode.com/svn/trunk@194 8f060a39-251c-0410-b1f3-431655927647
Diffstat (limited to 'src/TextThought.py')
-rw-r--r-- | src/TextThought.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TextThought.py b/src/TextThought.py index a4ad7c1..8cd0f6e 100644 --- a/src/TextThought.py +++ b/src/TextThought.py @@ -352,7 +352,7 @@ class TextThought (BaseThought.BaseThought): self.emit ("delete_thought") def includes (self, coords, mode): - if not self.ul or not self.lr: + if not self.ul or not self.lr or not coords: return False inside = (coords[0] < self.lr[0] + self.sensitive) and \ |