changeset 673:32539411bf0d

fixed a minor bug in the editor when trying to switch to INSERTING mode using the keyboard shortcut.
author vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 09 Nov 2010 12:31:40 +0000
parents 7b0bb02e89f9
children 20d1d695bf47
files tools/editor/scripts/gui/mapeditor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/editor/scripts/gui/mapeditor.py	Mon Nov 08 22:38:32 2010 +0000
+++ b/tools/editor/scripts/gui/mapeditor.py	Tue Nov 09 12:31:40 2010 +0000
@@ -570,7 +570,7 @@
 			
 		elif keystr == "i":
 			if self._mode != MapEditor.INSERTING:
-				self._setMode(INSERTING)
+				self._setMode(MapEditor.INSERTING)
 			else:
 				self._setMode(MapEditor.SELECTING)