Skip to content

Commit

Permalink
Types are now fixed after copy/paste.
Browse files Browse the repository at this point in the history
fixes #1338
  • Loading branch information
vchelaru committed Jan 31, 2024
1 parent db24701 commit 1dcf236
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2888,6 +2888,8 @@ await TaskManager.Self.AddAsync(async () =>
newElement.Name = StringFunctions.IncrementNumberAtEnd(newElement.Name);
}

newElement.FixAllTypes();

if (newElement is ScreenSave newScreenSave)
{
await GlueCommands.Self.GluxCommands.ScreenCommands.AddScreen(newScreenSave);
Expand Down

0 comments on commit 1dcf236

Please sign in to comment.