Actually save the value for a CustomOptionFile

This commit is contained in:
Michael Becker 2014-11-11 15:56:15 -05:00
parent 272e632777
commit db82070ee3

View File

@ -198,6 +198,11 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs
TextBox itm = (ctl as TextBox);
(eo as CustomOptionText).Value = itm.Text;
}
else if (ctl is AwesomeControls.FileTextBox.FileTextBoxControl)
{
AwesomeControls.FileTextBox.FileTextBoxControl itm = (ctl as AwesomeControls.FileTextBox.FileTextBoxControl);
(eo as CustomOptionFile).Value = itm.SelectedFileName;
}
}
}
catch (OverflowException ex)