Changed path text box to editable on save

This commit is contained in:
katzsmile
2010-09-16 14:27:05 +04:00
committed by Paul Chote
parent f549e7e5a8
commit 366cd02761
3 changed files with 21 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ namespace OpenRA.Editor
DirectoryInfo directory = new DirectoryInfo(MapFolderPath);
DirectoryInfo[] directories = directory.GetDirectories();
MapList.Items.Clear();
lblPathOut.Text = MapFolderPath;
txtPathOut.Text = MapFolderPath;
foreach (DirectoryInfo subDirectory in directories)
{
ListViewItem map1 = new ListViewItem(subDirectory.Name);
@@ -68,5 +68,10 @@ namespace OpenRA.Editor
}
}
private void txtPathOut_TextChanged(object sender, EventArgs e)
{
MapFolderPath = txtPathOut.Text;
}
}
}