Mercurial > mamba
changeset 175:b498f76a455f
Set initial tool correctly
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Wed, 14 Sep 2011 01:28:47 +0200 |
parents | 893fb9f8f468 |
children | e7f65e737b0a |
files | mamba/habitats/editor.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mamba/habitats/editor.py Wed Sep 14 01:26:44 2011 +0200 +++ b/mamba/habitats/editor.py Wed Sep 14 01:28:47 2011 +0200 @@ -72,6 +72,7 @@ self.container.add(floor_button) floor_button.add_callback('clicked', self.change_tool, '.', 'Floor') + self.edit_widget.set_tool('.') button_height += floor_button.surface.get_height() + button_padding for tile_char in TILE_MAP: try: