comparison clients/editor/plugins/mapeditor.py @ 115:c94c76346027

* Key event fix for map editor by chewie
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 28 Jul 2008 23:53:03 +0000
parents 0c017b8e4ab2
children d5658e6c34f5
comparison
equal deleted inserted replaced
114:bd4a1a9e6d85 115:c94c76346027
457 if self._mode != INSERTING: 457 if self._mode != INSERTING:
458 self._setMode(INSERTING) 458 self._setMode(INSERTING)
459 else: 459 else:
460 self._setMode(VIEWING) 460 self._setMode(VIEWING)
461 461
462 elif keyval == fife.Key.DELETE_KEY: 462 elif keyval == fife.Key.DELETE:
463 if self._mode != REMOVING: 463 if self._mode != REMOVING:
464 self._setMode(REMOVING) 464 self._setMode(REMOVING)
465 else: 465 else:
466 self._setMode(VIEWING) 466 self._setMode(VIEWING)
467 467