Mercurial > fife-parpg
diff tools/editor/scripts/gui/mapeditor.py @ 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 | 5e04f6349894 |
children | 60621d858548 |
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)