Skip to content

Commit

Permalink
chore: default created component name
Browse files Browse the repository at this point in the history
By default, the new component created from instances will finish its name with Component
  • Loading branch information
akaadream committed Sep 4, 2024
1 parent b2734a6 commit b15b5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gum/Commands/EditCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ public void ShowCreateComponentFromInstancesDialog()
FilePath filePath = element.Name;
var nameWithoutPath = filePath.FileNameNoPath;

tiwcw.Result = nameWithoutPath;
tiwcw.Result = $"{nameWithoutPath}Component";
//tiwcw.Option = $"Replace {nameWithoutPath} and all children with an instance of the new component";

if (tiwcw.ShowDialog() == DialogResult.OK)
Expand Down

0 comments on commit b15b5c8

Please sign in to comment.