Skip to content

Commit

Permalink
Adding a new platformer value now refreshes the variable grid (dropdo…
Browse files Browse the repository at this point in the history
…wns)

fixes #1315
  • Loading branch information
vchelaru committed Jan 1, 2024
1 parent 1a0fd3a commit 7959a32
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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();
}


Expand Down

0 comments on commit 7959a32

Please sign in to comment.