# HG changeset patch # User vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1289305900 0 # Node ID 32539411bf0d6252bca1a2a61111e064520b2662 # Parent 7b0bb02e89f9d4543592924f3fd8d716d7468564 fixed a minor bug in the editor when trying to switch to INSERTING mode using the keyboard shortcut. diff -r 7b0bb02e89f9 -r 32539411bf0d tools/editor/scripts/gui/mapeditor.py --- 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)