Displaying map theater name in open/save dialogs
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using OpenRA.FileFormats;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
@@ -28,6 +29,8 @@ namespace OpenRA.Editor
|
||||
ListViewItem map1 = new ListViewItem(subDirectory.Name);
|
||||
map1.ImageIndex = 0;
|
||||
MapList.Items.Add(map1);
|
||||
var map = new Map(new Folder(txtPath.Text + "\\" + subDirectory.Name));
|
||||
map1.SubItems.Add(map.Theater);
|
||||
}
|
||||
MapList.Items[0].Selected = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user