diff --git a/GUI/Main.cs b/GUI/Main.cs index 8a9d03f0f2..b5fbdb3230 100644 --- a/GUI/Main.cs +++ b/GUI/Main.cs @@ -909,9 +909,10 @@ private void installFromckanToolStripMenuItem_Click(object sender, EventArgs e) // Sneakily add our version in... registry_manager.registry.AddAvailable(module); - var changeset = new List>(); - changeset.Add(new KeyValuePair( - new GUIMod(module,registry_manager.registry,CurrentInstance.Version()), GUIModChangeType.Install)); + var changeset = new List(); + changeset.Add(new ModChange( + new GUIMod(module,registry_manager.registry,CurrentInstance.Version()), + GUIModChangeType.Install, null)); menuStrip1.Enabled = false; @@ -919,7 +920,7 @@ private void installFromckanToolStripMenuItem_Click(object sender, EventArgs e) install_ops.with_recommends = false; m_InstallWorker.RunWorkerAsync( - new KeyValuePair>, RelationshipResolverOptions>( + new KeyValuePair, RelationshipResolverOptions>( changeset, install_ops)); m_Changeset = null;