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

@@ -360,7 +360,7 @@ namespace OpenRA.Editor
nms.txtNew.ReadOnly = false;
nms.btnOk.Text = "Save";
nms.txtNew.Text = "unnamed";
nms.txtPathOut.ReadOnly = false;
if (DialogResult.OK == nms.ShowDialog())
{
@@ -411,6 +411,7 @@ namespace OpenRA.Editor
.Aggregate(Path.Combine);
nms.txtNew.ReadOnly = true;
nms.txtPathOut.ReadOnly = true;
nms.btnOk.Text = "Open";
if (DialogResult.OK == nms.ShowDialog())