can't believe this didn't exist before

This commit is contained in:
Michael Becker 2019-12-12 00:13:33 -05:00
parent 63e67ddac2
commit fae0781c74
No known key found for this signature in database
GPG Key ID: 389DFF5D73781A12

View File

@ -565,6 +565,12 @@ namespace UniversalEditor.UserInterface.Dialogs
{
switch (ptv.Type)
{
case ProjectTypeVariableType.Text:
{
CustomOptionText co = new CustomOptionText(ptv.Name, ptv.Title);
coll.Add(co);
break;
}
case ProjectTypeVariableType.Choice:
{
List<CustomOptionFieldChoice> choices = new List<CustomOptionFieldChoice>();