diff --git a/FRBDK/Glue/PlatformerPlugin/Views/AllPlatformerValues.xaml.cs b/FRBDK/Glue/PlatformerPlugin/Views/AllPlatformerValues.xaml.cs index a33f50d2d..04f57ba0d 100644 --- a/FRBDK/Glue/PlatformerPlugin/Views/AllPlatformerValues.xaml.cs +++ b/FRBDK/Glue/PlatformerPlugin/Views/AllPlatformerValues.xaml.cs @@ -1,4 +1,5 @@ -using FlatRedBall.PlatformerPlugin.Data; +using FlatRedBall.Glue.Plugins.ExportedImplementations; +using FlatRedBall.PlatformerPlugin.Data; using FlatRedBall.PlatformerPlugin.ViewModels; using FlatRedBall.Utilities; using Newtonsoft.Json; @@ -67,6 +68,9 @@ private void AddPlatformerValues(string predefinedName) values.Name = newItemName; ViewModel.PlatformerValues.Add(values); + + // This adds new items to the dropdowns: + GlueCommands.Self.RefreshCommands.RefreshVariables(); }