# HG changeset patch # User Neil Muller # Date 1315956527 -7200 # Node ID b498f76a455f6c7f1c955832babead276d7d30cc # Parent 893fb9f8f46821e4250fa269ec329294c4c52ee4 Set initial tool correctly diff -r 893fb9f8f468 -r b498f76a455f mamba/habitats/editor.py --- 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: