Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

little bug in code #9

Open
netcorefan opened this issue Dec 4, 2024 · 0 comments
Open

little bug in code #9

netcorefan opened this issue Dec 4, 2024 · 0 comments

Comments

@netcorefan
Copy link

hi!,

there is a little bug in code,

patch:

diff --git a/Models/Dynamic/DynChooseChannel.cs b/Models/Dynamic/DynChooseChannel.cs
index b0ae9be..e2e0b80 100644
--- a/Models/Dynamic/DynChooseChannel.cs
+++ b/Models/Dynamic/DynChooseChannel.cs
@@ -71,7 +71,7 @@ namespace Kaenx.Creator.Models.Dynamic

     public IDynItems Copy()
     {
  •        DynChooseBlock dyn = (DynChooseBlock)this.MemberwiseClone();
    
  •   	DynChooseChannel dyn = (DynChooseChannel)this.MemberwiseClone();
           dyn.Items = new ObservableCollection<IDynItems>();
           foreach (IDynItems item in this.Items)
               dyn.Items.Add((IDynItems)item.Copy());
    

thank you for your big-good job!

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant