mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Layers - Fixed node scripts not loading on duplicated/pasted scripts
This commit is contained in:
1 parent
5ef6f044c4
commit
6ac3d00116
3 files changed
+6
-3
No files matched your search
@@ -41,7 +41,7 @@ public class LayerTreeItemViewModel : TreeItemViewModel
|
||||
copy.Id = Guid.NewGuid();
|
||||
copy.Name = Layer.Parent.GetNewFolderName(copy.Name + " - copy");
|
||||
|
||||
Layer copied = new(Layer.Profile, Layer.Parent, copy);
|
||||
Layer copied = new(Layer.Profile, Layer.Parent, copy, true);
|
||||
ProfileEditorService.ExecuteCommand(new AddProfileElement(copied, Layer.Parent, Layer.Order - 1));
|
||||
Layer.Profile.PopulateLeds(_rgbService.EnabledDevices);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user