diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-05-01 07:03:00 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-05-01 07:03:00 (GMT) |
commit | 8957651e74154850c9caddb36339d5abe3ad9538 (patch) | |
tree | 9b6ec18b188e3da665aa85cd4fbe5559d08a18aa /editmap.py | |
parent | 1dfcca8cf751ed78e81b8efa9e2d137dbd593826 (diff) |
Add the StateView to the MapNavView in play mode
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'editmap.py')
-rw-r--r-- | editmap.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,7 +26,8 @@ class EditMapWin(gtk.HBox): self.model.data['map_data'] = self.game_map.data left_vbox = gtk.VBox() - self.nav_view = MapNavView(self.game_map, mode=MapNavView.MODE_EDIT) + self.nav_view = MapNavView(self.game_map, self.model, + mode=MapNavView.MODE_EDIT) self.top_view = TopMapView(self.game_map, 150, 150) self.top_view.show_position(self.nav_view.x, self.nav_view.y, self.nav_view.direction) |