Content Compiler:

- Fixed a bug where loading a project was impossible due to improper use of DialogResult
This commit is contained in:
SND\eagleeyestudios_cp 2013-01-05 12:16:26 +00:00 committed by Konstantin Koch
parent f4ad054470
commit 31ef82845c

View File

@ -62,6 +62,8 @@ namespace ANX.ContentCompiler.GUI.Dialogues
if (dlg.ShowDialog() == DialogResult.OK) if (dlg.ShowDialog() == DialogResult.OK)
{ {
textBoxLocation.Text = dlg.FileName; textBoxLocation.Text = dlg.FileName;
DialogResult = System.Windows.Forms.DialogResult.OK;
return;
} }
} }
DialogResult = DialogResult.None; DialogResult = DialogResult.None;