Wire up most of saving again.

This commit is contained in:
Paul Chote
2010-12-29 22:13:51 +13:00
parent e652a15b01
commit b7975031bc
4 changed files with 18 additions and 14 deletions

View File

@@ -45,8 +45,8 @@ namespace OpenRA.Editor
{
txtNew.Text = MapList.SelectedItems[0].Text;
txtNew.Tag = MapList.SelectedItems[0].Tag;
System.Console.WriteLine(MapList.SelectedItems[0]);
var map = new Map(txtNew.Tag as string);
var map = new Map(txtNew.Tag as string);
txtTitle.Text = map.Title;
txtAuthor.Text = map.Author;
txtTheater.Text = map.Tileset;